Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001565, allocations: 112.7 kB / 16.38 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 187.7 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 75.41 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2312, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl): time 0.7693/1.001, allocations: 330.3 MB / 1.107 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04063/1.041, allocations: 25.82 MB / 1.133 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005472/1.047, allocations: 135.2 kB / 1.133 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006506/1.053, allocations: 1.926 MB / 1.135 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.6173/1.671, allocations: 4.966 MB / 1.139 GB, free: 30.03 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009276/1.68, allocations: 3.337 MB / 1.143 GB, free: 30.03 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.06244/1.742, allocations: 54.16 MB / 1.196 GB, free: 29.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04011/1.783, allocations: 31.9 MB / 1.227 GB, free: 25.26 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04024/1.823, allocations: 19.67 MB / 1.246 GB, free: 15 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02703/1.85, allocations: 15.6 MB / 1.261 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.008708/1.859, allocations: 2.562 MB / 1.264 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02062/1.879, allocations: 6.065 MB / 1.27 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.01345/1.893, allocations: 6.758 MB / 1.276 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.02785/1.921, allocations: 12.31 MB / 1.288 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.05258/1.973, allocations: 42.86 MB / 1.33 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.973, allocations: 0 / 1.33 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/1.973, allocations: 0 / 1.33 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001051/1.974, allocations: 0 / 1.33 GB, free: 0.6328 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3010 * Number of variables: 3010 Notification: Performance of Generate backend data structure: time 0.06876/2.043, allocations: 23.18 MB / 1.353 GB, free: 9.605 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/2.043, allocations: 8.031 kB / 1.353 GB, free: 9.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02328/2.067, allocations: 3.598 MB / 1.356 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04817/2.115, allocations: 24.49 MB / 1.38 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009421/2.116, allocations: 0.8966 MB / 1.381 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005127/2.121, allocations: 1.232 MB / 1.382 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06078/2.182, allocations: 24.21 MB / 1.406 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006746/2.182, allocations: 31.59 kB / 1.406 GB, free: 3.516 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004537/2.187, allocations: 488.5 kB / 1.406 GB, free: 3.047 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006887/2.188, allocations: 0.5568 MB / 1.407 GB, free: 2.492 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04775/2.235, allocations: 22.57 MB / 1.429 GB, free: 11.96 MB / 1.092 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.1639/2.399, allocations: 92.26 MB / 1.519 GB, free: 12.16 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02299/2.422, allocations: 14.34 MB / 1.533 GB, free: 13.76 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01297/2.435, allocations: 8.72 MB / 1.542 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/2.437, allocations: 0.9819 MB / 1.542 GB, free: 3.883 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01383/2.451, allocations: 7.328 MB / 1.55 GB, free: 12.5 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008206/2.459, allocations: 0.8432 MB / 1.55 GB, free: 11.66 MB / 1.217 GB Notification: Performance of pre-optimization done (n=708): time 2.524e-05/2.459, allocations: 0 / 1.55 GB, free: 11.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=720): time 0.745/3.204, allocations: 35.99 MB / 1.586 GB, free: 0.5219 GB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/3.204, allocations: 204.3 kB / 1.586 GB, free: 0.5218 GB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03681/3.241, allocations: 16.36 MB / 1.602 GB, free: 0.5175 GB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.002148/3.243, allocations: 189.6 kB / 1.602 GB, free: 0.5173 GB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.009997/3.253, allocations: 7.053 MB / 1.609 GB, free: 0.5126 GB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.004543/3.258, allocations: 2.61 MB / 1.611 GB, free: 0.5107 GB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007262/3.265, allocations: 1.936 MB / 1.613 GB, free: 0.51 GB / 1.217 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/3.265, allocations: 306.7 kB / 1.614 GB, free: 0.5097 GB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/3.277, allocations: 6.942 MB / 1.62 GB, free: 0.5078 GB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/3.288, allocations: 9.47 MB / 1.63 GB, free: 0.5035 GB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02149/3.31, allocations: 16.46 MB / 1.646 GB, free: 0.4974 GB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.746e-05/3.31, allocations: 11 kB / 1.646 GB, free: 0.4974 GB / 1.217 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.03583/3.346, allocations: 17.61 MB / 1.663 GB, free: 0.4922 GB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/3.346, allocations: 56.39 kB / 1.663 GB, free: 0.4921 GB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.04e-05/3.346, allocations: 38.03 kB / 1.663 GB, free: 0.4921 GB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/3.347, allocations: 0.4937 MB / 1.663 GB, free: 0.492 GB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/3.357, allocations: 2.114 MB / 1.666 GB, free: 0.4919 GB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/3.363, allocations: 6.615 MB / 1.672 GB, free: 499 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/3.378, allocations: 1.019 MB / 1.673 GB, free: 498.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/3.38, allocations: 336.5 kB / 1.673 GB, free: 498.4 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02797/3.408, allocations: 16.66 MB / 1.69 GB, free: 484.1 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01272/3.421, allocations: 9.461 MB / 1.699 GB, free: 473.9 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02196/3.443, allocations: 16.46 MB / 1.715 GB, free: 456.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.443e-05/3.443, allocations: 8 kB / 1.715 GB, free: 456.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=1073) (initialization_lambda0): time 0.03273/3.476, allocations: 17.62 MB / 1.732 GB, free: 439.3 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/3.476, allocations: 57.69 kB / 1.732 GB, free: 439.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.415e-05/3.476, allocations: 36 kB / 1.732 GB, free: 439.2 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/3.477, allocations: 0.4926 MB / 1.733 GB, free: 438.7 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009555/3.487, allocations: 2.101 MB / 1.735 GB, free: 436.6 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/3.492, allocations: 6.028 MB / 1.741 GB, free: 430.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/3.505, allocations: 1.107 MB / 1.742 GB, free: 429.4 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/3.507, allocations: 331.8 kB / 1.742 GB, free: 429 MB / 1.217 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 (mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003601/3.511, allocations: 0.696 MB / 1.743 GB, free: 428.3 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004397/3.515, allocations: 1.154 MB / 1.744 GB, free: 427.2 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02567/3.541, allocations: 15.4 MB / 1.759 GB, free: 411.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01757/3.558, allocations: 12.79 MB / 1.771 GB, free: 398.8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/3.559, allocations: 0 / 1.771 GB, free: 398.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01096/3.569, allocations: 3.651 MB / 1.775 GB, free: 395.1 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005116/3.575, allocations: 211.9 kB / 1.775 GB, free: 394.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01098/3.586, allocations: 0.7725 MB / 1.776 GB, free: 394.2 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002014/3.588, allocations: 429 kB / 1.776 GB, free: 393.8 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03001/3.618, allocations: 16.1 MB / 1.792 GB, free: 377.7 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03569/3.653, allocations: 24.4 MB / 1.816 GB, free: 353.2 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007964/3.661, allocations: 6.935 MB / 1.823 GB, free: 346.2 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01928/3.681, allocations: 11.87 MB / 1.834 GB, free: 334.4 MB / 1.217 GB Notification: Performance of Backend: time 8.61e-07/3.681, allocations: 0 / 1.834 GB, free: 334.4 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.03907/3.72, allocations: 19.26 MB / 1.853 GB, free: 315.4 MB / 1.217 GB Notification: Performance of SimCode: time 0.08983/3.81, allocations: 44.51 MB / 1.896 GB, free: 271.5 MB / 1.217 GB Notification: Performance of Templates: time 1.226/5.036, allocations: 367.8 MB / 2.256 GB, free: 484.5 MB / 1.217 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)