Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7751/0.7751, allocations: 140 MB / 156 MB, free: 8.406 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 179.2 kB / 188.5 MB, free: 9.004 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 426.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 94.34 kB / 0.4945 GB, free: 7.977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001663/0.001663, allocations: 267.1 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 24 kB / 0.662 GB, free: 6.699 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3932, allocations: 79.3 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5346, allocations: 109.6 MB / 0.8465 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5349, allocations: 95.92 kB / 0.8466 GB, free: 496 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.02224/0.5571, allocations: 7.546 MB / 0.8539 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5572, allocations: 0 / 0.8539 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.5572, allocations: 4 kB / 0.8539 GB, free: 8.91 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001104/0.5583, allocations: 0.6076 MB / 0.8545 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5584, allocations: 12.02 kB / 0.8545 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.5586, allocations: 28.66 kB / 0.8546 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.5591, allocations: 311.8 kB / 0.8549 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5592, allocations: 12.66 kB / 0.8549 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.5592, allocations: 16.38 kB / 0.8549 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.5597, allocations: 249.2 kB / 0.8551 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5598, allocations: 11.88 kB / 0.8551 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.5598, allocations: 4 kB / 0.8551 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.5598, allocations: 8 kB / 0.8551 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.5605, allocations: 247.8 kB / 0.8554 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.5619, allocations: 0.9618 MB / 0.8563 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.5627, allocations: 261.2 kB / 0.8566 GB, free: 6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.563, allocations: 125.6 kB / 0.8567 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.5631, allocations: 7.969 kB / 0.8567 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.5631, allocations: 38.5 kB / 0.8567 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.5631, allocations: 0 / 0.8567 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001154/0.5643, allocations: 397.4 kB / 0.8571 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.5643, allocations: 85.11 kB / 0.8572 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.5646, allocations: 259 kB / 0.8574 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.5647, allocations: 37.7 kB / 0.8575 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5648, allocations: 160 kB / 0.8576 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.5648, allocations: 47.27 kB / 0.8577 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.5649, allocations: 8 kB / 0.8577 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.565, allocations: 334.8 kB / 0.858 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.5654, allocations: 111.9 kB / 0.8581 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.5657, allocations: 173 kB / 0.8583 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.5664, allocations: 281.7 kB / 0.8585 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5664, allocations: 0 / 0.8585 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008158/0.5672, allocations: 341 kB / 0.8589 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5673, allocations: 13.98 kB / 0.8589 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5673, allocations: 0 / 0.8589 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5673, allocations: 4 kB / 0.8589 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.5676, allocations: 67.89 kB / 0.8589 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5676, allocations: 4 kB / 0.859 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.5679, allocations: 55.8 kB / 0.859 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.5679, allocations: 4 kB / 0.859 GB, free: 3.387 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001329/0.568, allocations: 141.7 kB / 0.8591 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5682, allocations: 35.56 kB / 0.8592 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.569, allocations: 339.8 kB / 0.8595 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.569, allocations: 4 kB / 0.8595 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.569, allocations: 0 / 0.8595 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.569, allocations: 288 / 0.8595 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.5694, allocations: 293.4 kB / 0.8598 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5694, allocations: 4 kB / 0.8598 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.5697, allocations: 71.83 kB / 0.8599 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5697, allocations: 0 / 0.8599 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.5697, allocations: 4 kB / 0.8599 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5697, allocations: 7.938 kB / 0.8599 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5697, allocations: 0 / 0.8599 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.5706, allocations: 482.2 kB / 0.8603 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.5706, allocations: 100.8 kB / 0.8604 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.5707, allocations: 8 kB / 0.8604 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.571, allocations: 39.95 kB / 0.8605 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.571, allocations: 15.98 kB / 0.8605 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.5711, allocations: 8 kB / 0.8605 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001705/0.5712, allocations: 190 kB / 0.8607 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5712, allocations: 7.938 kB / 0.8607 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003555/0.5716, allocations: 60.09 kB / 0.8607 GB, free: 1.516 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002226/0.5718, allocations: 123.2 kB / 0.8609 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007247/0.5726, allocations: 268.8 kB / 0.8611 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5726, allocations: 0 / 0.8611 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.5729, allocations: 139.9 kB / 0.8612 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.5736, allocations: 78.77 kB / 0.8613 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.5745, allocations: 0.4937 MB / 0.8618 GB, free: 388 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.5748, allocations: 0.7519 MB / 0.8625 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.575, allocations: 30.28 kB / 0.8626 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.5751, allocations: 23.42 kB / 0.8626 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5751, allocations: 4 kB / 0.8626 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.007678/0.5828, allocations: 3.463 MB / 0.866 GB, free: 12.16 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)