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.001079/0.001079, allocations: 104.6 kB / 15.98 MB, free: 6.355 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.001068/0.001069, allocations: 192.7 kB / 16.91 MB, free: 6.195 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7535/0.7535, allocations: 122.9 MB / 413.6 MB, free: 72 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.91 kB / 0.4906 GB, free: 7.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4311, allocations: 77.92 MB / 0.5667 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002221/0.4334, allocations: 1.316 MB / 0.568 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.4365, allocations: 2.907 MB / 0.5708 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.4366, allocations: 0.5 kB / 0.5708 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.4366, allocations: 1.156 kB / 0.5708 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.4367, allocations: 6.609 kB / 0.5708 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.4372, allocations: 96.45 kB / 0.5709 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.4373, allocations: 34.14 kB / 0.5709 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.4374, allocations: 8.188 kB / 0.5709 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005088/0.4379, allocations: 148.9 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.438, allocations: 22.41 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.438, allocations: 1.531 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.4381, allocations: 64.22 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.4382, allocations: 8.516 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.4382, allocations: 20.66 kB / 0.5712 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.4384, allocations: 63.3 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4384, allocations: 4.469 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4384, allocations: 0.75 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4384, allocations: 0 / 0.5713 GB, free: 29.45 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.0004187/0.4389, allocations: 346.1 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4389, allocations: 10.62 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.439, allocations: 3.281 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.301e-05/0.439, allocations: 163.8 kB / 0.5718 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4391, allocations: 5.719 kB / 0.5718 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.4391, allocations: 10.31 kB / 0.5718 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.4392, allocations: 54.53 kB / 0.5718 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4392, allocations: 0 / 0.5718 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4393, allocations: 4.938 kB / 0.5718 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4393, allocations: 5.969 kB / 0.5718 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.4393, allocations: 18.89 kB / 0.5718 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.4395, allocations: 168.3 kB / 0.572 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4396, allocations: 50.81 kB / 0.5721 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.4397, allocations: 18.09 kB / 0.5721 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006666/0.4403, allocations: 0.5922 MB / 0.5727 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.4404, allocations: 42.14 kB / 0.5727 GB, free: 27.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4404, allocations: 3.938 kB / 0.5727 GB, free: 27.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005622/0.4409, allocations: 297.2 kB / 0.573 GB, free: 27.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.441, allocations: 53.78 kB / 0.573 GB, free: 27.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.441, allocations: 100.5 kB / 0.5731 GB, free: 27.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.4411, allocations: 27.98 kB / 0.5732 GB, free: 27.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.4411, allocations: 89.64 kB / 0.5732 GB, free: 27.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.4411, allocations: 21.36 kB / 0.5733 GB, free: 27.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.4411, allocations: 28.72 kB / 0.5733 GB, free: 27.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.4412, allocations: 318.5 kB / 0.5736 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.4412, allocations: 14.44 kB / 0.5736 GB, free: 26.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.4413, allocations: 55.14 kB / 0.5737 GB, free: 26.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.4414, allocations: 75.64 kB / 0.5737 GB, free: 26.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4414, allocations: 0 / 0.5737 GB, free: 26.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001218/0.4415, allocations: 95.92 kB / 0.5738 GB, free: 26.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4415, allocations: 5.438 kB / 0.5738 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4415, allocations: 6.906 kB / 0.5738 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4415, allocations: 6.188 kB / 0.5738 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.4416, allocations: 23.28 kB / 0.5739 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4416, allocations: 3.297 kB / 0.5739 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.4417, allocations: 6.25 kB / 0.5739 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4417, allocations: 4.375 kB / 0.5739 GB, free: 26.79 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.49e-05/0.4417, allocations: 122.9 kB / 0.574 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.4418, allocations: 3.469 kB / 0.574 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.4418, allocations: 10.03 kB / 0.574 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4418, allocations: 1.969 kB / 0.574 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4418, allocations: 0 / 0.574 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4418, allocations: 5.344 kB / 0.574 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.442, allocations: 177.9 kB / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.442, allocations: 0.875 kB / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.444e-05/0.4421, allocations: 15.84 kB / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4421, allocations: 0.6562 kB / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.4422, allocations: 2.781 kB / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4422, allocations: 0 / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4422, allocations: 2.25 kB / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.4423, allocations: 178 kB / 0.5744 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.4424, allocations: 82.61 kB / 0.5745 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4424, allocations: 0.6094 kB / 0.5745 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4425, allocations: 7.203 kB / 0.5745 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.4425, allocations: 4.219 kB / 0.5745 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.4425, allocations: 11.44 kB / 0.5745 GB, free: 26.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.191e-05/0.4426, allocations: 82.2 kB / 0.5746 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4426, allocations: 2.656 kB / 0.5746 GB, free: 26.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000232/0.4428, allocations: 14.84 kB / 0.5746 GB, free: 26.12 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.000103/0.4429, allocations: 99.41 kB / 0.5747 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.443, allocations: 57.08 kB / 0.5747 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.443, allocations: 0 / 0.5747 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.4431, allocations: 19.05 kB / 0.5747 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.4434, allocations: 10.81 kB / 0.5747 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.4439, allocations: 346 kB / 0.5751 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.4441, allocations: 0.682 MB / 0.5757 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.072e-05/0.4441, allocations: 13.08 kB / 0.5758 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.4442, allocations: 10.91 kB / 0.5758 GB, free: 25.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4442, allocations: 3.938 kB / 0.5758 GB, free: 25.04 MB / 446.1 MB Notification: Performance of Templates: time 0.002971/0.4472, allocations: 0.6137 MB / 0.5764 GB, free: 24.96 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)