Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.0009973/0.0009973, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 286.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 92.27 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3552, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00197/0.3572, allocations: 1.264 MB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.3604, allocations: 2.92 MB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.3604, allocations: 0 / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.3604, allocations: 7.938 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.3605, allocations: 3.984 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.3609, allocations: 99.53 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.361, allocations: 43.84 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.361, allocations: 3.984 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.3614, allocations: 143.5 kB / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.3615, allocations: 19.91 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3615, allocations: 8 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3617, allocations: 71.81 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.3617, allocations: 7.984 kB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.3617, allocations: 15.92 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.3619, allocations: 71.45 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.3619, allocations: 4 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3619, allocations: 0 / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.3619, allocations: 0 / 0.7716 GB, free: 15.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003313/0.3622, allocations: 346 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3623, allocations: 12.03 kB / 0.7719 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.3623, allocations: 4.938 kB / 0.7719 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.333e-05/0.3624, allocations: 160.4 kB / 0.7721 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.3624, allocations: 384 / 0.7721 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3624, allocations: 12.38 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3625, allocations: 57.73 kB / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3626, allocations: 0 / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3626, allocations: 7.938 kB / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3626, allocations: 0 / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.979e-05/0.3626, allocations: 23.98 kB / 0.7722 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.3628, allocations: 169.5 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3629, allocations: 50.56 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.363, allocations: 20.84 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/0.3636, allocations: 0.5948 MB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3636, allocations: 34.56 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3636, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004969/0.3641, allocations: 302.1 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.3642, allocations: 55.41 kB / 0.7734 GB, free: 13.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.3642, allocations: 97.84 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3643, allocations: 33.7 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.3643, allocations: 88.05 kB / 0.7736 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3643, allocations: 31.7 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.3644, allocations: 25.72 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.3645, allocations: 318.8 kB / 0.7739 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.3645, allocations: 12 kB / 0.7739 GB, free: 12.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-05/0.3645, allocations: 53.08 kB / 0.774 GB, free: 12.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.3646, allocations: 77.08 kB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3646, allocations: 4 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001272/0.3648, allocations: 97.81 kB / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.3648, allocations: 8.031 kB / 0.7742 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3648, allocations: 7.938 kB / 0.7742 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3648, allocations: 0 / 0.7742 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.3649, allocations: 16 kB / 0.7742 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3649, allocations: 7.938 kB / 0.7742 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.365, allocations: 4 kB / 0.7742 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.365, allocations: 11.92 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB 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.443e-05/0.365, allocations: 120.2 kB / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.3651, allocations: 8 kB / 0.7743 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.3651, allocations: 7.969 kB / 0.7744 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3651, allocations: 0 / 0.7744 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3651, allocations: 448 / 0.7744 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.3652, allocations: 85.09 kB / 0.7744 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.3652, allocations: 3.938 kB / 0.7744 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3654, allocations: 8 kB / 0.7744 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.3654, allocations: 0 / 0.7744 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001752/0.3656, allocations: 152.8 kB / 0.7746 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001925/0.3658, allocations: 258.7 kB / 0.7748 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.3e-05/0.3659, allocations: 16.03 kB / 0.7749 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.3659, allocations: 75.28 kB / 0.7749 GB, free: 11.37 MB / 0.545 GB Notification: Performance of Backend: time 2.21e-07/0.3659, allocations: 0 / 0.7749 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.3663, allocations: 142.2 kB / 0.7751 GB, free: 11.22 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006129/0.3669, allocations: 0.7652 MB / 0.7758 GB, free: 10.41 MB / 0.545 GB Notification: Performance of Templates: time 0.003018/0.37, allocations: 0.9708 MB / 0.7768 GB, free: 9.438 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)