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.001098/0.001098, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.001065/0.001065, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8274/0.8274, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.89 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3894, allocations: 77.93 MB / 0.5672 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002181/0.3916, allocations: 1.256 MB / 0.5684 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.3946, allocations: 2.916 MB / 0.5713 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.3947, allocations: 0.8125 kB / 0.5713 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.3947, allocations: 1.719 kB / 0.5713 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.3948, allocations: 10.7 kB / 0.5713 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3952, allocations: 98.75 kB / 0.5714 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.3953, allocations: 43.39 kB / 0.5714 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.3954, allocations: 4.672 kB / 0.5714 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.3958, allocations: 156.5 kB / 0.5716 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.3958, allocations: 17.66 kB / 0.5716 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3959, allocations: 2.906 kB / 0.5716 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.396, allocations: 67.39 kB / 0.5716 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3961, allocations: 4.156 kB / 0.5716 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.3961, allocations: 16.83 kB / 0.5717 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3963, allocations: 68.64 kB / 0.5717 GB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3963, allocations: 3.938 kB / 0.5717 GB, free: 29.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3963, allocations: 1.438 kB / 0.5717 GB, free: 29.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3963, allocations: 0 / 0.5717 GB, free: 29.72 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.0003286/0.3967, allocations: 353.4 kB / 0.5721 GB, free: 29.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3967, allocations: 10.28 kB / 0.5721 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.3967, allocations: 4.891 kB / 0.5721 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.477e-05/0.3968, allocations: 161.1 kB / 0.5722 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3968, allocations: 2.781 kB / 0.5722 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3969, allocations: 7.875 kB / 0.5722 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.397, allocations: 54.19 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.397, allocations: 2.438 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.397, allocations: 0 / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.397, allocations: 1.344 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.329e-05/0.3971, allocations: 24.83 kB / 0.5723 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.3972, allocations: 179 kB / 0.5725 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.144e-05/0.3973, allocations: 51.73 kB / 0.5725 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.3974, allocations: 17.89 kB / 0.5726 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/0.398, allocations: 0.59 MB / 0.5731 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.398, allocations: 32 kB / 0.5732 GB, free: 28.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 2.575e-06/0.398, allocations: 0 / 0.5732 GB, free: 28.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005317/0.3986, allocations: 305.4 kB / 0.5735 GB, free: 27.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.3986, allocations: 53.03 kB / 0.5735 GB, free: 27.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.957e-05/0.3987, allocations: 101 kB / 0.5736 GB, free: 27.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.3987, allocations: 27.95 kB / 0.5736 GB, free: 27.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.3987, allocations: 93.8 kB / 0.5737 GB, free: 27.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.3987, allocations: 21.05 kB / 0.5737 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3988, allocations: 25.31 kB / 0.5738 GB, free: 27.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.3988, allocations: 322.5 kB / 0.5741 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.3989, allocations: 13.22 kB / 0.5741 GB, free: 27.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.3989, allocations: 50.66 kB / 0.5741 GB, free: 27.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.028e-05/0.399, allocations: 78.84 kB / 0.5742 GB, free: 27.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.399, allocations: 2.094 kB / 0.5742 GB, free: 27.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001328/0.3991, allocations: 103.8 kB / 0.5743 GB, free: 27.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3992, allocations: 5.672 kB / 0.5743 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3992, allocations: 6.031 kB / 0.5743 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3992, allocations: 4.844 kB / 0.5743 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.3993, allocations: 19.02 kB / 0.5743 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3993, allocations: 2.781 kB / 0.5743 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.3993, allocations: 5.062 kB / 0.5744 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3993, allocations: 12.5 kB / 0.5744 GB, free: 27.05 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 5.933e-05/0.3994, allocations: 122.4 kB / 0.5745 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.3994, allocations: 4.156 kB / 0.5745 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.3995, allocations: 8.578 kB / 0.5745 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3995, allocations: 1.438 kB / 0.5745 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3995, allocations: 1.094 kB / 0.5745 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3995, allocations: 6.078 kB / 0.5745 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3997, allocations: 169.3 kB / 0.5747 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3997, allocations: 1.062 kB / 0.5747 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/0.3998, allocations: 17.56 kB / 0.5747 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3998, allocations: 1.156 kB / 0.5747 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3998, allocations: 4.516 kB / 0.5747 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3998, allocations: 1.531 kB / 0.5747 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3998, allocations: 0 / 0.5747 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.4, allocations: 185 kB / 0.5749 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.4, allocations: 85.28 kB / 0.5749 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4001, allocations: 1.562 kB / 0.5749 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4002, allocations: 1.906 kB / 0.575 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.4002, allocations: 3.25 kB / 0.575 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4002, allocations: 12.25 kB / 0.575 GB, free: 26.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.065e-05/0.4002, allocations: 78.38 kB / 0.575 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4002, allocations: 1.375 kB / 0.575 GB, free: 26.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.4005, allocations: 13.69 kB / 0.5751 GB, free: 26.38 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.0001024/0.4006, allocations: 100.4 kB / 0.5752 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.4007, allocations: 49.16 kB / 0.5752 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4007, allocations: 1.25 kB / 0.5752 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.4008, allocations: 15.78 kB / 0.5752 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.401, allocations: 9.672 kB / 0.5752 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.4016, allocations: 336.4 kB / 0.5755 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.4018, allocations: 0.6834 MB / 0.5762 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.815e-05/0.4018, allocations: 5.875 kB / 0.5762 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.4018, allocations: 10.75 kB / 0.5762 GB, free: 25.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4019, allocations: 4 kB / 0.5762 GB, free: 25.33 MB / 446.1 MB Notification: Performance of Templates: time 0.00282/0.4047, allocations: 0.6262 MB / 0.5768 GB, free: 25.24 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)