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.001079/0.001079, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.00152/0.00152, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.32/1.32, 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.002043/0.002043, allocations: 293.1 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.9164/0.9164, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3891, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002043/0.3912, allocations: 1.265 MB / 0.7683 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.3944, allocations: 2.92 MB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.3944, allocations: 0 / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.3944, allocations: 3.938 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.3945, allocations: 3.984 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.3949, allocations: 103.5 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.395, allocations: 39.84 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.395, allocations: 7.984 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.3954, allocations: 143.5 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.3955, allocations: 19.91 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3955, allocations: 0 / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3957, allocations: 71.81 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.3957, allocations: 11.98 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.3957, allocations: 19.92 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3959, allocations: 67.52 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3959, allocations: 0 / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3959, allocations: 0 / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.3959, allocations: 0 / 0.7716 GB, free: 15.22 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.0003452/0.3962, allocations: 346 kB / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3963, allocations: 12.03 kB / 0.7719 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.3963, allocations: 0.9375 kB / 0.7719 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.081e-05/0.3964, allocations: 164.4 kB / 0.7721 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3964, allocations: 4.375 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3964, allocations: 8.375 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3966, allocations: 57.73 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3966, allocations: 0 / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3966, allocations: 7.938 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3966, allocations: 0 / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.3967, allocations: 19.97 kB / 0.7722 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.3968, allocations: 169.5 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.3969, allocations: 50.56 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.3969, allocations: 32.77 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.3975, allocations: 0.5909 MB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3976, allocations: 34.56 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3976, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000523/0.3981, allocations: 310.1 kB / 0.7733 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.3982, allocations: 51.41 kB / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.3982, allocations: 97.84 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3982, allocations: 29.7 kB / 0.7735 GB, free: 12.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.3983, allocations: 88.05 kB / 0.7736 GB, free: 12.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.3983, allocations: 23.64 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.3984, allocations: 29.72 kB / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.3984, allocations: 322.8 kB / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.3985, allocations: 12 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.3985, allocations: 57.08 kB / 0.774 GB, free: 12.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/0.3986, allocations: 73.08 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3986, allocations: 0 / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001216/0.3987, allocations: 93.45 kB / 0.7742 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3988, allocations: 8 kB / 0.7742 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3988, allocations: 3.938 kB / 0.7742 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3988, allocations: 4.562 kB / 0.7742 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.3989, allocations: 20 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3989, allocations: 7.922 kB / 0.7742 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.3989, allocations: 15.94 kB / 0.7742 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3989, allocations: 4 kB / 0.7742 GB, free: 12.11 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.835e-05/0.399, allocations: 113.8 kB / 0.7743 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.399, allocations: 0 / 0.7743 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.3991, allocations: 11.97 kB / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3991, allocations: 0 / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3991, allocations: 4 kB / 0.7743 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3991, allocations: 3.938 kB / 0.7743 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.3993, allocations: 173.7 kB / 0.7745 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3993, allocations: 0 / 0.7745 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.3994, allocations: 19.98 kB / 0.7745 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3994, allocations: 7.938 kB / 0.7745 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3994, allocations: 0 / 0.7745 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3994, allocations: 0 / 0.7745 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3994, allocations: 0 / 0.7745 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3996, allocations: 175.7 kB / 0.7747 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.3996, allocations: 81.2 kB / 0.7748 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3997, allocations: 3.938 kB / 0.7748 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3998, allocations: 16.02 kB / 0.7748 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.3998, allocations: 0 / 0.7748 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3998, allocations: 7.938 kB / 0.7748 GB, free: 11.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.3998, allocations: 79.28 kB / 0.7749 GB, free: 11.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3998, allocations: 0 / 0.7749 GB, free: 11.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002248/0.4001, allocations: 12 kB / 0.7749 GB, free: 11.32 MB / 0.545 GB 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 0.0001095/0.4002, allocations: 111.2 kB / 0.775 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.4003, allocations: 47.91 kB / 0.775 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4003, allocations: 0 / 0.775 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.4003, allocations: 16 kB / 0.7751 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4006, allocations: 4.203 kB / 0.7751 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.4011, allocations: 364.1 kB / 0.7754 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.4013, allocations: 0.6846 MB / 0.7761 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.4014, allocations: 11.44 kB / 0.7761 GB, free: 10.02 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4014, allocations: 3.938 kB / 0.7761 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Templates: time 0.00185/0.4032, allocations: 0.7921 MB / 0.7769 GB, free: 9.23 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)