Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 100.3 kB / 16.94 MB, free: 5.789 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.001925/0.001925, allocations: 191.3 kB / 17.87 MB, free: 5.156 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.356/1.356, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.788/0.788, allocations: 122.9 MB / 414.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 0.4917 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3952, allocations: 77.92 MB / 0.5678 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002422/0.3976, allocations: 1.256 MB / 0.5691 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003669/0.4013, allocations: 2.917 MB / 0.5719 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.4014, allocations: 0 / 0.5719 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.4014, allocations: 3.469 kB / 0.5719 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.4016, allocations: 4.594 kB / 0.5719 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.4021, allocations: 99.59 kB / 0.572 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.4022, allocations: 39.48 kB / 0.572 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.4023, allocations: 2.734 kB / 0.572 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.4028, allocations: 158 kB / 0.5722 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.4029, allocations: 18.75 kB / 0.5722 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.4029, allocations: 2.562 kB / 0.5722 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.4031, allocations: 61.48 kB / 0.5723 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.4031, allocations: 13.81 kB / 0.5723 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.4031, allocations: 16.88 kB / 0.5723 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.4033, allocations: 63.75 kB / 0.5724 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4033, allocations: 0 / 0.5724 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4033, allocations: 2.719 kB / 0.5724 GB, free: 29.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4033, allocations: 0 / 0.5724 GB, free: 29.54 MB / 446.1 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.0003646/0.4037, allocations: 350.8 kB / 0.5727 GB, free: 29.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4038, allocations: 10.31 kB / 0.5727 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.4038, allocations: 4.531 kB / 0.5727 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.4039, allocations: 167.8 kB / 0.5729 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.4039, allocations: 5.688 kB / 0.5729 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.4039, allocations: 8.594 kB / 0.5729 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.4041, allocations: 58.73 kB / 0.5729 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.4041, allocations: 0 / 0.5729 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.4041, allocations: 1.625 kB / 0.5729 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.4041, allocations: 2.625 kB / 0.573 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.4042, allocations: 18.28 kB / 0.573 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.4043, allocations: 168.9 kB / 0.5731 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.948e-05/0.4044, allocations: 54.25 kB / 0.5732 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.4045, allocations: 18.39 kB / 0.5732 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.4051, allocations: 0.5976 MB / 0.5738 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.4051, allocations: 32.66 kB / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4051, allocations: 1.375 kB / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000552/0.4057, allocations: 298.9 kB / 0.5741 GB, free: 27.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.4057, allocations: 54.28 kB / 0.5742 GB, free: 27.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.4058, allocations: 101.2 kB / 0.5742 GB, free: 27.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4058, allocations: 27.27 kB / 0.5743 GB, free: 27.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.4058, allocations: 94.45 kB / 0.5744 GB, free: 27.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.4059, allocations: 21.17 kB / 0.5744 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.4059, allocations: 31.95 kB / 0.5744 GB, free: 27.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.406, allocations: 323.1 kB / 0.5747 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.406, allocations: 14.39 kB / 0.5747 GB, free: 27.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-05/0.406, allocations: 53.55 kB / 0.5748 GB, free: 27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.4061, allocations: 75.89 kB / 0.5749 GB, free: 26.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4061, allocations: 0 / 0.5749 GB, free: 26.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001335/0.4063, allocations: 96.12 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4063, allocations: 7.812 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4063, allocations: 3.188 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4063, allocations: 2.75 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.4064, allocations: 27.64 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4064, allocations: 2.844 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.4065, allocations: 6.062 kB / 0.575 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4065, allocations: 5.5 kB / 0.575 GB, free: 26.87 MB / 446.1 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.386e-05/0.4066, allocations: 121.8 kB / 0.5751 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.4066, allocations: 8.141 kB / 0.5751 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.4066, allocations: 9.031 kB / 0.5751 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4066, allocations: 2.266 kB / 0.5751 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4066, allocations: 0 / 0.5751 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4066, allocations: 6.406 kB / 0.5751 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.4069, allocations: 174 kB / 0.5753 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4069, allocations: 3.938 kB / 0.5753 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.407, allocations: 15.39 kB / 0.5753 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.407, allocations: 1.938 kB / 0.5753 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.407, allocations: 0 / 0.5753 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.407, allocations: 2.547 kB / 0.5753 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.407, allocations: 2.531 kB / 0.5753 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.4072, allocations: 176.8 kB / 0.5755 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.4072, allocations: 80.47 kB / 0.5756 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.4072, allocations: 8.016 kB / 0.5756 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4073, allocations: 7.016 kB / 0.5756 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.4074, allocations: 8.656 kB / 0.5756 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.4074, allocations: 5.875 kB / 0.5756 GB, free: 26.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.295e-05/0.4074, allocations: 84.94 kB / 0.5757 GB, free: 26.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4074, allocations: 1.406 kB / 0.5757 GB, free: 26.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.4077, allocations: 9.938 kB / 0.5757 GB, free: 26.19 MB / 446.1 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 0.0001128/0.4078, allocations: 104.1 kB / 0.5758 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.4079, allocations: 42.38 kB / 0.5758 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4079, allocations: 2.75 kB / 0.5758 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.4079, allocations: 19.19 kB / 0.5759 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.4082, allocations: 12.97 kB / 0.5759 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.4088, allocations: 360.5 kB / 0.5762 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.4089, allocations: 0.688 MB / 0.5769 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.409, allocations: 11 kB / 0.5769 GB, free: 25.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.409, allocations: 1.281 kB / 0.5769 GB, free: 25.11 MB / 446.1 MB Notification: Performance of Templates: time 0.00236/0.4113, allocations: 0.769 MB / 0.5777 GB, free: 25.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)