Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008769/0.0008769, allocations: 73.88 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9401/0.9401, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001757/0.001757, allocations: 237.3 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7393/0.7393, allocations: 138.4 MB / 456.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.5563 GB, free: 15.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.59e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.0016/0.001616, allocations: 1.302 MB / 0.5576 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.0046, allocations: 3.351 MB / 0.5608 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.004643, allocations: 0 / 0.5608 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.004664, allocations: 4 kB / 0.5608 GB, free: 11.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.004708, allocations: 15.91 kB / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.005177, allocations: 111.4 kB / 0.561 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.005242, allocations: 31.91 kB / 0.561 GB, free: 11.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.005274, allocations: 4 kB / 0.561 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.005326, allocations: 27.91 kB / 0.561 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.005378, allocations: 11.97 kB / 0.561 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.005389, allocations: 4 kB / 0.561 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.005549, allocations: 71.75 kB / 0.5611 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.005562, allocations: 4 kB / 0.5611 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.005581, allocations: 15.97 kB / 0.5611 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.005711, allocations: 71.75 kB / 0.5612 GB, free: 10.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005713, allocations: 3.938 kB / 0.5612 GB, free: 10.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005714, allocations: 0 / 0.5612 GB, free: 10.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005718, allocations: 0 / 0.5612 GB, free: 10.88 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000442/0.00616, allocations: 372.5 kB / 0.5616 GB, free: 10.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.006192, allocations: 13.94 kB / 0.5616 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.181e-05/0.006284, allocations: 8.891 kB / 0.5616 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.893e-05/0.006353, allocations: 112.6 kB / 0.5617 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006369, allocations: 12.38 kB / 0.5617 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.006386, allocations: 4.375 kB / 0.5617 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.006491, allocations: 127.3 kB / 0.5618 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006498, allocations: 4.188 kB / 0.5618 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.006507, allocations: 8.109 kB / 0.5618 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.006513, allocations: 3.984 kB / 0.5618 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.006542, allocations: 15.92 kB / 0.5619 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.006661, allocations: 113.2 kB / 0.562 GB, free: 9.988 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.006732, allocations: 50.97 kB / 0.562 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.006752, allocations: 23.69 kB / 0.562 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004492/0.007201, allocations: 284.9 kB / 0.5623 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.00723, allocations: 41.31 kB / 0.5623 GB, free: 9.547 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.007231, allocations: 0 / 0.5623 GB, free: 9.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.007629, allocations: 225.7 kB / 0.5626 GB, free: 9.289 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.007656, allocations: 51.41 kB / 0.5626 GB, free: 9.227 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.007732, allocations: 157.9 kB / 0.5628 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.007742, allocations: 25.7 kB / 0.5628 GB, free: 9.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.007791, allocations: 138.8 kB / 0.5629 GB, free: 8.883 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.007806, allocations: 31.72 kB / 0.563 GB, free: 8.852 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.007842, allocations: 31.36 kB / 0.563 GB, free: 8.812 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007952, allocations: 0.4923 MB / 0.5635 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.007963, allocations: 4 kB / 0.5635 GB, free: 8.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.008008, allocations: 70.03 kB / 0.5635 GB, free: 8.211 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.754e-05/0.008066, allocations: 74.05 kB / 0.5636 GB, free: 8.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008067, allocations: 4 kB / 0.5636 GB, free: 8.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.67e-05/0.008153, allocations: 93.44 kB / 0.5637 GB, free: 8.012 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.008165, allocations: 8 kB / 0.5637 GB, free: 8.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00817, allocations: 0 / 0.5637 GB, free: 8.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.00818, allocations: 4 kB / 0.5637 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.00823, allocations: 27.92 kB / 0.5637 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.008233, allocations: 0 / 0.5637 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.008254, allocations: 7.938 kB / 0.5637 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.00826, allocations: 4 kB / 0.5637 GB, free: 7.961 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.00832, allocations: 160.7 kB / 0.5639 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.00834, allocations: 7.938 kB / 0.5639 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.008362, allocations: 12.12 kB / 0.5639 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008364, allocations: 0 / 0.5639 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008366, allocations: 0.7188 kB / 0.5639 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.00837, allocations: 0 / 0.5639 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.008499, allocations: 117.2 kB / 0.564 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.008502, allocations: 4 kB / 0.564 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.00855, allocations: 23.91 kB / 0.5641 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.008552, allocations: 3.938 kB / 0.5641 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.008556, allocations: 0 / 0.5641 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008558, allocations: 8 kB / 0.5641 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008559, allocations: 0 / 0.5641 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.008689, allocations: 219.9 kB / 0.5643 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.008707, allocations: 3.953 kB / 0.5643 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.008719, allocations: 7.938 kB / 0.5643 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.008769, allocations: 3.984 kB / 0.5643 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.008784, allocations: 8 kB / 0.5643 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.008788, allocations: 0 / 0.5643 GB, free: 7.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.008824, allocations: 131.2 kB / 0.5644 GB, free: 7.211 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008824, allocations: 3.938 kB / 0.5644 GB, free: 7.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.008981, allocations: 12 kB / 0.5644 GB, free: 7.195 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.415e-05/0.009075, allocations: 99.25 kB / 0.5645 GB, free: 7.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.025e-05/0.009165, allocations: 44.25 kB / 0.5646 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.009167, allocations: 4 kB / 0.5646 GB, free: 7.039 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.009184, allocations: 19.67 kB / 0.5646 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.009364, allocations: 4 kB / 0.5646 GB, free: 7.012 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.01031, allocations: 274.4 kB / 0.5649 GB, free: 6.715 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.01035, allocations: 67.34 kB / 0.5649 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.01039, allocations: 11.77 kB / 0.5649 GB, free: 6.617 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.01044, allocations: 78.2 kB / 0.565 GB, free: 6.539 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01044, allocations: 4 kB / 0.565 GB, free: 6.535 MB / 490.7 MB Notification: Performance of Templates: time 0.002119/0.01256, allocations: 0.7191 MB / 0.5657 GB, free: 5.836 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.617805709131062]