Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1995/0.2002, allocations: 82.21 MB / 0.5934 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow): time 0.5923/0.7925, allocations: 171.9 MB / 0.7612 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.8096, allocations: 11.59 MB / 0.7725 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.812, allocations: 41.22 kB / 0.7726 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.8145, allocations: 0.6889 MB / 0.7732 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007841/0.8224, allocations: 1.607 MB / 0.7748 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005818/0.8282, allocations: 1.672 MB / 0.7764 GB, free: 8.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004505/0.8327, allocations: 1.996 MB / 0.7784 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.8344, allocations: 0.9537 MB / 0.7793 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.8386, allocations: 1.531 MB / 0.7808 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.8405, allocations: 0.8177 MB / 0.7816 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.8407, allocations: 62.72 kB / 0.7817 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.8441, allocations: 1.442 MB / 0.7831 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004247/0.8445, allocations: 378.4 kB / 0.7834 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.8451, allocations: 345.9 kB / 0.7838 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.8478, allocations: 2.036 MB / 0.7858 GB, free: 4.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8478, allocations: 0 / 0.7858 GB, free: 4.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8479, allocations: 0 / 0.7858 GB, free: 4.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.274e-05/0.8479, allocations: 6.625 kB / 0.7858 GB, free: 4.723 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.004172/0.8521, allocations: 1.927 MB / 0.7877 GB, free: 3.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.8521, allocations: 10.28 kB / 0.7877 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.8544, allocations: 437.2 kB / 0.7881 GB, free: 3.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.8561, allocations: 0.9904 MB / 0.789 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.8562, allocations: 87.53 kB / 0.7891 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.8564, allocations: 117.1 kB / 0.7892 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.8592, allocations: 1.543 MB / 0.7907 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.8592, allocations: 0.875 kB / 0.7908 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.8593, allocations: 47.38 kB / 0.7908 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.8594, allocations: 42.72 kB / 0.7908 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.8623, allocations: 1.372 MB / 0.7922 GB, free: 1.477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008399/0.8707, allocations: 6.074 MB / 0.7981 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.8729, allocations: 0.9007 MB / 0.799 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.8757, allocations: 2.148 MB / 0.8011 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.8774, allocations: 0.8382 MB / 0.8019 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.8774, allocations: 0 / 0.8019 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=89): time 0.004504/0.8819, allocations: 2.128 MB / 0.804 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/0.8822, allocations: 439.8 kB / 0.8044 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.8837, allocations: 1.1 MB / 0.8055 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.8839, allocations: 53.7 kB / 0.8055 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/0.8844, allocations: 0.6055 MB / 0.8061 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.8847, allocations: 295.8 kB / 0.8064 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.8848, allocations: 20 kB / 0.8064 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8849, allocations: 353.9 kB / 0.8068 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.8861, allocations: 0.5062 MB / 0.8073 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.8875, allocations: 0.8658 MB / 0.8081 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.8888, allocations: 0.7007 MB / 0.8088 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.8888, allocations: 112 / 0.8088 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003273/0.8921, allocations: 1.662 MB / 0.8104 GB, free: 164 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.8932, allocations: 2.322 MB / 0.8127 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.8932, allocations: 11.98 kB / 0.8127 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.8932, allocations: 12 kB / 0.8127 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.8945, allocations: 284.4 kB / 0.813 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.8945, allocations: 15.98 kB / 0.813 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.8961, allocations: 230.5 kB / 0.8132 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.8962, allocations: 59.97 kB / 0.8133 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.8962, allocations: 4.781 kB / 0.8133 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002645/0.8989, allocations: 1.526 MB / 0.8148 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.8989, allocations: 12.03 kB / 0.8148 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.8989, allocations: 8 kB / 0.8148 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.9, allocations: 279.6 kB / 0.815 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.9, allocations: 11.94 kB / 0.815 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.9014, allocations: 206.7 kB / 0.8152 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.9015, allocations: 55.98 kB / 0.8153 GB, free: 10.94 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,x_pTphi.i_w,x_pTphi.i_nw,x_pTphi.found,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008183/0.9024, allocations: 0.5184 MB / 0.8158 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.9026, allocations: 138.4 kB / 0.8159 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.9054, allocations: 1.478 MB / 0.8174 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.9054, allocations: 11.98 kB / 0.8174 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.9054, allocations: 4 kB / 0.8174 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.9055, allocations: 3.984 kB / 0.8174 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004425/0.9099, allocations: 2.782 MB / 0.8201 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.9099, allocations: 4 kB / 0.8201 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/0.9109, allocations: 196 kB / 0.8203 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.9109, allocations: 7.953 kB / 0.8203 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.517e-05/0.911, allocations: 31.98 kB / 0.8203 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.911, allocations: 4 kB / 0.8203 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.911, allocations: 4 kB / 0.8204 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/0.9153, allocations: 2.362 MB / 0.8227 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/0.9161, allocations: 359.1 kB / 0.823 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.9163, allocations: 27.94 kB / 0.823 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.9173, allocations: 119.9 kB / 0.8231 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.9175, allocations: 60.55 kB / 0.8232 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/0.9176, allocations: 43.97 kB / 0.8232 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00113/0.9187, allocations: 0.7417 MB / 0.824 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9187, allocations: 0 / 0.824 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002402/0.9211, allocations: 0.8656 MB / 0.8248 GB, free: 0.9141 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition2,mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.9222, allocations: 466.6 kB / 0.8253 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004449/0.9266, allocations: 2.609 MB / 0.8278 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9266, allocations: 3.938 kB / 0.8278 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.9279, allocations: 0.8444 MB / 0.8286 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.9305, allocations: 0.5717 MB / 0.8292 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.9348, allocations: 2.873 MB / 0.832 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.9356, allocations: 1.222 MB / 0.8332 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001597/0.9372, allocations: 342.5 kB / 0.8335 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.9375, allocations: 107.4 kB / 0.8336 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.9375, allocations: 0 / 0.8336 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of Templates: time 0.04519/0.9827, allocations: 28.23 MB / 0.8612 GB, free: 11.77 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe 2>&1) Environment - environmentSimulation: