Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.607/2.607, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 177.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 92.16 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005061, allocations: 13.48 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3068, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 1.011/1.318, allocations: 175.9 MB / 1.15 GB, free: 9.613 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03199/1.35, allocations: 12.22 MB / 1.162 GB, free: 92 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/1.353, allocations: 55.56 kB / 1.162 GB, free: 64 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004452/1.358, allocations: 0.7587 MB / 1.163 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/1.37, allocations: 2.197 MB / 1.165 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01505/1.385, allocations: 2.859 MB / 1.168 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007287/1.392, allocations: 2.213 MB / 1.17 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/1.395, allocations: 1.025 MB / 1.171 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006242/1.402, allocations: 1.481 MB / 1.172 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/1.405, allocations: 0.8144 MB / 1.173 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007978/1.406, allocations: 66.12 kB / 1.173 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007778/1.413, allocations: 2.095 MB / 1.175 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/1.415, allocations: 342.5 kB / 1.176 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/1.416, allocations: 349.2 kB / 1.176 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006395/1.422, allocations: 2.278 MB / 1.178 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.422, allocations: 0 / 1.178 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.086e-06/1.422, allocations: 0 / 1.178 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.875e-05/1.422, allocations: 2.844 kB / 1.178 GB, free: 5.195 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008596/1.431, allocations: 2.054 MB / 1.18 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.431, allocations: 10.66 kB / 1.18 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005929/1.432, allocations: 150.3 kB / 1.18 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/1.437, allocations: 0.5857 MB / 1.181 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/1.442, allocations: 1.189 MB / 1.182 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001318/1.443, allocations: 223.1 kB / 1.182 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005551/1.444, allocations: 113.4 kB / 1.182 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005449/1.449, allocations: 1.36 MB / 1.184 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/1.45, allocations: 3.953 kB / 1.184 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/1.45, allocations: 42.19 kB / 1.184 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/1.45, allocations: 42.55 kB / 1.184 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006813/1.457, allocations: 1.385 MB / 1.185 GB, free: 0.7188 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/1.474, allocations: 5.358 MB / 1.19 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005746/1.48, allocations: 1.186 MB / 1.191 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/1.482, allocations: 0.6023 MB / 1.192 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003019/1.485, allocations: 0.6307 MB / 1.193 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 6.803e-06/1.485, allocations: 4 kB / 1.193 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.008994/1.494, allocations: 1.668 MB / 1.194 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.494, allocations: 141.4 kB / 1.194 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/1.498, allocations: 1.338 MB / 1.196 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003748/1.498, allocations: 52.83 kB / 1.196 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.499, allocations: 0.6602 MB / 1.196 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/1.5, allocations: 281.9 kB / 1.197 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.5, allocations: 20.22 kB / 1.197 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.5, allocations: 344.7 kB / 1.197 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/1.503, allocations: 0.5376 MB / 1.198 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003334/1.506, allocations: 0.8342 MB / 1.198 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/1.509, allocations: 0.6268 MB / 1.199 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/1.509, allocations: 4 kB / 1.199 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.007834/1.517, allocations: 1.555 MB / 1.201 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001047/1.518, allocations: 1.995 MB / 1.202 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-05/1.518, allocations: 11.94 kB / 1.202 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.067e-05/1.519, allocations: 16 kB / 1.202 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/1.522, allocations: 343.5 kB / 1.203 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/1.524, allocations: 1.203 MB / 1.204 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/1.527, allocations: 239.8 kB / 1.204 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/1.528, allocations: 55.91 kB / 1.204 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.528, allocations: 4 kB / 1.204 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006867/1.534, allocations: 1.403 MB / 1.206 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/1.535, allocations: 4 kB / 1.206 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/1.535, allocations: 12 kB / 1.206 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.538, allocations: 315.8 kB / 1.206 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-05/1.538, allocations: 19.92 kB / 1.206 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/1.541, allocations: 234.8 kB / 1.206 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/1.541, allocations: 51.97 kB / 1.206 GB, free: 15.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001347/1.543, allocations: 426.8 kB / 1.207 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/1.543, allocations: 158 kB / 1.207 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/1.55, allocations: 1.374 MB / 1.208 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/1.55, allocations: 12 kB / 1.208 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.55, allocations: 0 / 1.208 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/1.55, allocations: 3.984 kB / 1.208 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.562, allocations: 2.91 MB / 1.211 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.562, allocations: 7.984 kB / 1.211 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.564, allocations: 244.2 kB / 1.211 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/1.564, allocations: 8 kB / 1.211 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/1.565, allocations: 31.98 kB / 1.211 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/1.566, allocations: 1.199 MB / 1.212 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/1.566, allocations: 4 kB / 1.212 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009666/1.575, allocations: 2.352 MB / 1.215 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.577, allocations: 378.7 kB / 1.215 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005979/1.578, allocations: 24 kB / 1.215 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/1.58, allocations: 131.8 kB / 1.215 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/1.581, allocations: 80.45 kB / 1.215 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/1.581, allocations: 39.97 kB / 1.215 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002468/1.584, allocations: 0.8908 MB / 1.216 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.11e-07/1.584, allocations: 0 / 1.216 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004629/1.588, allocations: 0.8308 MB / 1.217 GB, free: 3.676 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01273/1.601, allocations: 4.29 MB / 1.221 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.612, allocations: 2.229 MB / 1.223 GB, free: 13 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/1.612, allocations: 4 kB / 1.223 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003572/1.616, allocations: 0.6571 MB / 1.224 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/1.623, allocations: 0.6903 MB / 1.225 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.638, allocations: 7.303 MB / 1.232 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.639, allocations: 1.266 MB / 1.233 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003625/1.643, allocations: 421.3 kB / 1.234 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.645, allocations: 0.5813 MB / 1.234 GB, free: 1.871 MB / 0.7605 GB Notification: Performance of SimCode: time 2.184e-06/1.645, allocations: 0 / 1.234 GB, free: 1.871 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/1.778, allocations: 42.96 MB / 1.276 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003995/1.778, allocations: 276.9 kB / 1.276 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.8/6.578, allocations: 0 / 1.276 GB, free: 7.059 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)