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.001383/0.001383, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001398/0.001398, allocations: 189.2 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 293.3 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 1.072/1.072, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 92.23 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4393, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002533/0.4419, allocations: 1.269 MB / 0.7683 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003906/0.4458, allocations: 2.928 MB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.4458, allocations: 4 kB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.4458, allocations: 3.938 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.4459, allocations: 3.938 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.4464, allocations: 103.5 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.4464, allocations: 31.92 kB / 0.7713 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.4465, allocations: 11.98 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.4469, allocations: 151.5 kB / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.447, allocations: 23.91 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.447, allocations: 4 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.4472, allocations: 59.89 kB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.4472, allocations: 19.91 kB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.4472, allocations: 11.94 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.4474, allocations: 55.72 kB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4474, allocations: 4 kB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4474, allocations: 4 kB / 0.7716 GB, free: 15.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4474, allocations: 0 / 0.7716 GB, free: 15.26 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.0004755/0.4479, allocations: 357.1 kB / 0.7719 GB, free: 14.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4479, allocations: 8.031 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.4479, allocations: 4.938 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.4481, allocations: 164.3 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4481, allocations: 8.375 kB / 0.7721 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.4481, allocations: 4.359 kB / 0.7721 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4483, allocations: 61.78 kB / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4483, allocations: 4 kB / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4483, allocations: 0 / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4483, allocations: 4 kB / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.4483, allocations: 19.98 kB / 0.7722 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.4485, allocations: 161.6 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.4486, allocations: 50.48 kB / 0.7724 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.4487, allocations: 20.86 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.4494, allocations: 0.5948 MB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.4495, allocations: 38.55 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4495, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005978/0.4501, allocations: 298.3 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4501, allocations: 59.34 kB / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.4502, allocations: 97.86 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4502, allocations: 29.7 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.4503, allocations: 88.08 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.4503, allocations: 27.75 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4503, allocations: 29.7 kB / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4505, allocations: 318.8 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.4505, allocations: 15.92 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.4506, allocations: 57.09 kB / 0.774 GB, free: 12.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.4507, allocations: 77.25 kB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4507, allocations: 0 / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001433/0.4508, allocations: 93.98 kB / 0.7742 GB, free: 12.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4508, allocations: 8 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4508, allocations: 0 / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4509, allocations: 4 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.4509, allocations: 27.92 kB / 0.7742 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4509, allocations: 4 kB / 0.7742 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.451, allocations: 7.938 kB / 0.7742 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.451, allocations: 4 kB / 0.7742 GB, free: 12.15 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 9.141e-05/0.4511, allocations: 120.3 kB / 0.7743 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.4511, allocations: 7.953 kB / 0.7743 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.4511, allocations: 7.969 kB / 0.7744 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4512, allocations: 4 kB / 0.7744 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4512, allocations: 0 / 0.7744 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4512, allocations: 7.922 kB / 0.7744 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.4514, allocations: 177.7 kB / 0.7745 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.4514, allocations: 0 / 0.7745 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.4515, allocations: 12 kB / 0.7745 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4515, allocations: 0 / 0.7745 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4515, allocations: 4 kB / 0.7746 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4515, allocations: 4 kB / 0.7746 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4515, allocations: 0 / 0.7746 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.4517, allocations: 175.4 kB / 0.7747 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.4518, allocations: 85.14 kB / 0.7748 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.4518, allocations: 0 / 0.7748 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4519, allocations: 8 kB / 0.7748 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.4519, allocations: 0 / 0.7748 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4519, allocations: 7.938 kB / 0.7748 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.452, allocations: 83.27 kB / 0.7749 GB, free: 11.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.452, allocations: 0 / 0.7749 GB, free: 11.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002518/0.4522, allocations: 19.94 kB / 0.7749 GB, free: 11.35 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.000133/0.4524, allocations: 107.2 kB / 0.775 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.4525, allocations: 40.23 kB / 0.7751 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4525, allocations: 256 / 0.7751 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.4525, allocations: 27.92 kB / 0.7751 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4528, allocations: 4 kB / 0.7751 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.4534, allocations: 337.6 kB / 0.7754 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4537, allocations: 0.6807 MB / 0.7761 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.4537, allocations: 8 kB / 0.7761 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.4537, allocations: 11.44 kB / 0.7761 GB, free: 10.08 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4537, allocations: 0 / 0.7761 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Templates: time 0.003253/0.457, allocations: 0.643 MB / 0.7767 GB, free: 9.441 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)