Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.127/2.127, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 183 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5772 GB, free: 20.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008785/0.0008787, allocations: 91.8 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004851, allocations: 12.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl): time 1.116/1.324, allocations: 302.8 MB / 1.195 GB, free: 252 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05424/1.379, allocations: 24.41 MB / 1.219 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005689/1.384, allocations: 115.2 kB / 1.219 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006792/1.391, allocations: 1.222 MB / 1.22 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01698/1.408, allocations: 3.728 MB / 1.224 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01114/1.42, allocations: 2.207 MB / 1.226 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.1089/1.528, allocations: 58.73 MB / 1.284 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0506/1.579, allocations: 21.05 MB / 1.304 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04055/1.62, allocations: 12.99 MB / 1.317 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03327/1.653, allocations: 12.73 MB / 1.329 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.005901/1.659, allocations: 0.7031 MB / 1.33 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/1.678, allocations: 2.652 MB / 1.332 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.01154/1.69, allocations: 4.223 MB / 1.337 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.01206/1.702, allocations: 4.278 MB / 1.341 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.06043/1.762, allocations: 35.67 MB / 1.376 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.762, allocations: 0 / 1.376 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.116e-06/1.762, allocations: 0 / 1.376 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001076/1.763, allocations: 0 / 1.376 GB, free: 12.22 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.084/1.847, allocations: 18.72 MB / 1.394 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/1.847, allocations: 8.031 kB / 1.394 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03204/1.88, allocations: 3.624 MB / 1.397 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.354/3.234, allocations: 24.56 MB / 1.421 GB, free: 325.5 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/3.235, allocations: 0.9049 MB / 1.422 GB, free: 325.1 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006826/3.242, allocations: 1.237 MB / 1.424 GB, free: 324.7 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07661/3.319, allocations: 24.26 MB / 1.447 GB, free: 314.4 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008369/3.32, allocations: 38.41 kB / 1.447 GB, free: 314.4 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005408/3.325, allocations: 489.4 kB / 1.448 GB, free: 314.1 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008009/3.326, allocations: 0.5684 MB / 1.448 GB, free: 313.7 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06422/3.39, allocations: 22.64 MB / 1.47 GB, free: 291 MB / 0.9168 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.2068/3.597, allocations: 91.16 MB / 1.559 GB, free: 196.6 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02953/3.626, allocations: 13.72 MB / 1.573 GB, free: 182.9 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01913/3.646, allocations: 8.694 MB / 1.581 GB, free: 174.2 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002141/3.648, allocations: 0.9939 MB / 1.582 GB, free: 173 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02337/3.671, allocations: 7.33 MB / 1.589 GB, free: 165.6 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0199/3.691, allocations: 1.296 MB / 1.591 GB, free: 164.3 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=708): time 3.243e-05/3.691, allocations: 0 / 1.591 GB, free: 164.3 MB / 0.9168 GB Notification: Performance of matching and sorting (n=720): time 0.1199/3.811, allocations: 35.62 MB / 1.625 GB, free: 128.5 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/3.811, allocations: 210.1 kB / 1.626 GB, free: 128.2 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0387/3.85, allocations: 15.63 MB / 1.641 GB, free: 112.6 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.002492/3.853, allocations: 185.7 kB / 1.641 GB, free: 112.4 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.0126/3.865, allocations: 7.12 MB / 1.648 GB, free: 105.3 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.004951/3.87, allocations: 2.615 MB / 1.651 GB, free: 102.7 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/3.872, allocations: 167.9 kB / 1.651 GB, free: 102.5 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0009837/3.873, allocations: 0.7078 MB / 1.651 GB, free: 101.8 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01686/3.89, allocations: 6.793 MB / 1.658 GB, free: 95.02 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02008/3.91, allocations: 9.352 MB / 1.667 GB, free: 84.83 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02108/3.931, allocations: 8.808 MB / 1.676 GB, free: 76 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.887e-05/3.931, allocations: 9.688 kB / 1.676 GB, free: 76 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.04942/3.981, allocations: 17.4 MB / 1.693 GB, free: 58.55 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007479/3.982, allocations: 1.309 MB / 1.694 GB, free: 56.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.504e-05/3.982, allocations: 40 kB / 1.694 GB, free: 56.66 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/3.984, allocations: 489.6 kB / 1.695 GB, free: 56.18 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01837/4.002, allocations: 2.103 MB / 1.697 GB, free: 54.07 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/4.013, allocations: 6.2 MB / 1.703 GB, free: 47.72 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02611/4.039, allocations: 1.826 MB / 1.704 GB, free: 45.89 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002599/4.042, allocations: 327.9 kB / 1.705 GB, free: 45.57 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/4.042, allocations: 3.938 kB / 1.705 GB, free: 45.57 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05849/4.1, allocations: 16.38 MB / 1.721 GB, free: 29.16 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/4.1, allocations: 40 kB / 1.721 GB, free: 29.12 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/4.104, allocations: 497 kB / 1.721 GB, free: 28.64 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02868/4.132, allocations: 2.094 MB / 1.723 GB, free: 26.54 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/4.148, allocations: 5.598 MB / 1.729 GB, free: 20.81 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03524/4.183, allocations: 1.792 MB / 1.731 GB, free: 19.02 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003426/4.187, allocations: 319.9 kB / 1.731 GB, free: 18.71 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1032): * Single equations (assignments): 1017 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.03332/4.22, allocations: 10.32 MB / 1.741 GB, free: 8.367 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00726/4.228, allocations: 1.162 MB / 1.742 GB, free: 7.191 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42/5.648, allocations: 15.3 MB / 1.757 GB, free: 300.1 MB / 0.9169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03855/5.686, allocations: 12.68 MB / 1.769 GB, free: 299.1 MB / 0.9169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/5.686, allocations: 3.969 kB / 1.769 GB, free: 299.1 MB / 0.9169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01485/5.701, allocations: 3.734 MB / 1.773 GB, free: 298.1 MB / 0.9169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005771/5.707, allocations: 214.9 kB / 1.773 GB, free: 298 MB / 0.9169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02168/5.729, allocations: 1.511 MB / 1.775 GB, free: 297.8 MB / 0.9169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002759/5.732, allocations: 429.4 kB / 1.775 GB, free: 297.8 MB / 0.9169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05173/5.783, allocations: 16.05 MB / 1.791 GB, free: 293.4 MB / 0.9169 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05662/5.84, allocations: 24.2 MB / 1.814 GB, free: 284.1 MB / 0.9169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01433/5.855, allocations: 6.861 MB / 1.821 GB, free: 277.2 MB / 0.9169 GB Notification: Performance of sorting global known variables: time 0.02729/5.882, allocations: 11.35 MB / 1.832 GB, free: 265.9 MB / 0.9169 GB Notification: Performance of Backend: time 1.092e-06/5.882, allocations: 0 / 1.832 GB, free: 265.9 MB / 0.9169 GB Notification: Performance of simCode: created initialization part: time 0.05793/5.94, allocations: 19 MB / 1.851 GB, free: 247.3 MB / 0.9169 GB Notification: Performance of SimCode: time 0.1474/6.087, allocations: 50.13 MB / 1.9 GB, free: 197.7 MB / 0.9169 GB Notification: Performance of Templates: time 1.501/7.588, allocations: 351.9 MB / 2.243 GB, free: 172.1 MB / 0.9169 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)