Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.00106, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001167/0.001167, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.671/1.671, allocations: 251.9 MB / 0.51 GB, free: 4.867 MB / 414.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.0006204/0.0006204, allocations: 12 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6271, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2167/0.8438, allocations: 172.4 MB / 0.8963 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.8634, allocations: 11.93 MB / 0.908 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.8659, allocations: 39.69 kB / 0.908 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.8687, allocations: 0.7116 MB / 0.9087 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.6527/1.521, allocations: 2.011 MB / 0.9107 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007239/1.529, allocations: 1.728 MB / 0.9123 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005967/1.535, allocations: 1.906 MB / 0.9142 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/1.537, allocations: 0.8919 MB / 0.9151 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005469/1.543, allocations: 1.356 MB / 0.9164 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/1.546, allocations: 0.752 MB / 0.9171 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007683/1.547, allocations: 58.09 kB / 0.9172 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008766/1.556, allocations: 2.035 MB / 0.9192 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/1.557, allocations: 320.6 kB / 0.9195 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002107/1.559, allocations: 306.2 kB / 0.9198 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006299/1.565, allocations: 2.029 MB / 0.9218 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.565, allocations: 0 / 0.9218 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.708e-06/1.565, allocations: 0.625 kB / 0.9218 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001682/1.566, allocations: 0 / 0.9218 GB, free: 21.4 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.008103/1.574, allocations: 1.804 MB / 0.9235 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/1.574, allocations: 9.625 kB / 0.9235 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/1.578, allocations: 0.5611 MB / 0.9241 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/1.581, allocations: 1.022 MB / 0.9251 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007008/1.582, allocations: 210.9 kB / 0.9253 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004282/1.582, allocations: 97.12 kB / 0.9254 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/1.586, allocations: 1.266 MB / 0.9266 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/1.586, allocations: 0 / 0.9266 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/1.586, allocations: 38.78 kB / 0.9266 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/1.586, allocations: 43.58 kB / 0.9267 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/1.59, allocations: 1.323 MB / 0.928 GB, free: 19.75 MB / 0.7325 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.009581/1.6, allocations: 4.923 MB / 0.9328 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/1.602, allocations: 1.067 MB / 0.9338 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.603, allocations: 0.6875 MB / 0.9345 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/1.605, allocations: 0.7411 MB / 0.9352 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 3.156e-06/1.605, allocations: 4 kB / 0.9352 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85): time 0.004547/1.609, allocations: 1.942 MB / 0.9371 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.61, allocations: 150.5 kB / 0.9373 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.611, allocations: 1.035 MB / 0.9383 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.612, allocations: 45.27 kB / 0.9383 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/1.612, allocations: 0.5265 MB / 0.9388 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/1.612, allocations: 277.9 kB / 0.9391 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/1.612, allocations: 14.75 kB / 0.9391 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.613, allocations: 345.6 kB / 0.9394 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.614, allocations: 0.5097 MB / 0.9399 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.615, allocations: 0.7037 MB / 0.9406 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/1.617, allocations: 0.6015 MB / 0.9412 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/1.617, allocations: 0 / 0.9412 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003619/1.62, allocations: 1.497 MB / 0.9427 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005366/1.621, allocations: 1.116 MB / 0.9438 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.621, allocations: 1.812 kB / 0.9438 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.814e-05/1.621, allocations: 10.81 kB / 0.9438 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.622, allocations: 269.5 kB / 0.944 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/1.622, allocations: 11.89 kB / 0.944 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/1.624, allocations: 213.8 kB / 0.9443 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/1.624, allocations: 46.09 kB / 0.9443 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.624, allocations: 4.812 kB / 0.9443 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003087/1.627, allocations: 1.406 MB / 0.9457 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.628, allocations: 7.344 kB / 0.9457 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.628, allocations: 7.375 kB / 0.9457 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.629, allocations: 261.7 kB / 0.9459 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.629, allocations: 5.875 kB / 0.9459 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/1.631, allocations: 198.7 kB / 0.9461 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.631, allocations: 51 kB / 0.9462 GB, free: 13.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($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,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0009407/1.632, allocations: 469.4 kB / 0.9466 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/1.632, allocations: 125.8 kB / 0.9467 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003697/1.636, allocations: 1.504 MB / 0.9482 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/1.636, allocations: 9 kB / 0.9482 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.636, allocations: 4 kB / 0.9482 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.636, allocations: 3.094 kB / 0.9482 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/1.642, allocations: 3.053 MB / 0.9512 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.642, allocations: 3.312 kB / 0.9512 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/1.643, allocations: 207 kB / 0.9514 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.643, allocations: 14.09 kB / 0.9514 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/1.643, allocations: 32.02 kB / 0.9515 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/1.644, allocations: 8.984 kB / 0.9515 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/1.644, allocations: 10.75 kB / 0.9515 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/1.649, allocations: 2.455 MB / 0.9539 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.65, allocations: 353.6 kB / 0.9542 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/1.65, allocations: 25.42 kB / 0.9542 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.652, allocations: 132.1 kB / 0.9544 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.652, allocations: 71.92 kB / 0.9544 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.652, allocations: 41.09 kB / 0.9545 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001525/1.654, allocations: 0.6965 MB / 0.9551 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.654, allocations: 0 / 0.9551 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003611/1.657, allocations: 0.7901 MB / 0.9559 GB, free: 11.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.001843/1.659, allocations: 0.509 MB / 0.9564 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005093/1.664, allocations: 2.267 MB / 0.9586 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.664, allocations: 448 / 0.9586 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.666, allocations: 0.7875 MB / 0.9594 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/1.669, allocations: 0.5111 MB / 0.9599 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/1.675, allocations: 2.809 MB / 0.9626 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.676, allocations: 1.185 MB / 0.9638 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002209/1.678, allocations: 360.5 kB / 0.9641 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/1.679, allocations: 101.6 kB / 0.9642 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of SimCode: time 1.754e-06/1.679, allocations: 0 / 0.9642 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of Templates: time 0.04932/1.728, allocations: 24.72 MB / 0.9884 GB, free: 11.03 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) Environment - environmentSimulation: