Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009621, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001169/0.001169, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003348, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 83.42 MB / 0.5975 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001207/0.1607, allocations: 0.9783 MB / 0.5985 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1639, allocations: 2.745 MB / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.1639, allocations: 0 / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.1639, allocations: 3.984 kB / 0.6012 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.164, allocations: 3.938 kB / 0.6012 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.1644, allocations: 83.62 kB / 0.6012 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1644, allocations: 23.92 kB / 0.6013 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.1645, allocations: 7.984 kB / 0.6013 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.1649, allocations: 143.6 kB / 0.6014 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.1649, allocations: 15.92 kB / 0.6014 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.165, allocations: 4 kB / 0.6014 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1651, allocations: 43.89 kB / 0.6015 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.1651, allocations: 8 kB / 0.6015 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.1651, allocations: 37.58 kB / 0.6015 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1652, allocations: 40.17 kB / 0.6016 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1652, allocations: 0 / 0.6016 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1653, allocations: 0 / 0.6016 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.1653, allocations: 0 / 0.6016 GB, free: 3.523 MB / 0.4981 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.0003453/0.1656, allocations: 331.3 kB / 0.6019 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1657, allocations: 8.031 kB / 0.6019 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.1657, allocations: 42.55 kB / 0.6019 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.1657, allocations: 7.953 kB / 0.6019 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1658, allocations: 167 kB / 0.6021 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.1659, allocations: 4 kB / 0.6021 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1659, allocations: 8 kB / 0.6021 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.166, allocations: 49.67 kB / 0.6021 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.166, allocations: 0 / 0.6021 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1661, allocations: 7.938 kB / 0.6022 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1661, allocations: 0 / 0.6022 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.1661, allocations: 19.94 kB / 0.6022 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1663, allocations: 169.6 kB / 0.6023 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1665, allocations: 50.56 kB / 0.6024 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.1665, allocations: 20.84 kB / 0.6024 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/0.1671, allocations: 0.5907 MB / 0.603 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1672, allocations: 38.52 kB / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1672, allocations: 0 / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005454/0.1677, allocations: 310.5 kB / 0.6033 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1678, allocations: 59.34 kB / 0.6034 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.1678, allocations: 101.8 kB / 0.6035 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.1679, allocations: 25.7 kB / 0.6035 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.1679, allocations: 84.05 kB / 0.6036 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1679, allocations: 31.55 kB / 0.6036 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.1679, allocations: 4 kB / 0.6036 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.168, allocations: 318.8 kB / 0.6039 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.1681, allocations: 15.98 kB / 0.6039 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.1681, allocations: 45.14 kB / 0.604 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.1682, allocations: 27.94 kB / 0.604 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1682, allocations: 0 / 0.604 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001249/0.1683, allocations: 93.5 kB / 0.6041 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1684, allocations: 9.875 kB / 0.6041 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1684, allocations: 0 / 0.6041 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1684, allocations: 4 kB / 0.6041 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.1685, allocations: 23.98 kB / 0.6041 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1685, allocations: 3.938 kB / 0.6041 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.1685, allocations: 8.125 kB / 0.6041 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1685, allocations: 4 kB / 0.6041 GB, free: 496 kB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.1686, allocations: 113.8 kB / 0.6042 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.1686, allocations: 7.859 kB / 0.6043 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.1687, allocations: 11.97 kB / 0.6043 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1687, allocations: 0 / 0.6043 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1687, allocations: 0 / 0.6043 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1687, allocations: 0 / 0.6043 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1689, allocations: 174.1 kB / 0.6044 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1689, allocations: 0 / 0.6044 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.169, allocations: 19.98 kB / 0.6044 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.169, allocations: 8 kB / 0.6045 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1691, allocations: 3.953 kB / 0.6045 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1691, allocations: 7.875 kB / 0.6045 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1691, allocations: 0 / 0.6045 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3123/0.4814, allocations: 164.6 kB / 0.6046 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.4815, allocations: 83.17 kB / 0.6047 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4815, allocations: 0 / 0.6047 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4817, allocations: 10.34 kB / 0.6047 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.4817, allocations: 4.547 kB / 0.6047 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.4817, allocations: 1.875 kB / 0.6047 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.4818, allocations: 83.84 kB / 0.6048 GB, free: 41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4818, allocations: 0.6562 kB / 0.6048 GB, free: 41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003268/0.4821, allocations: 15.19 kB / 0.6048 GB, free: 41 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004216/0.4826, allocations: 0.7123 MB / 0.6055 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.4827, allocations: 42.2 kB / 0.6056 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4827, allocations: 0 / 0.6056 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.4827, allocations: 15.28 kB / 0.6056 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4831, allocations: 7.656 kB / 0.6056 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.4841, allocations: 0.6812 MB / 0.6062 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.4842, allocations: 0.6806 MB / 0.6069 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.051e-05/0.4843, allocations: 15.42 kB / 0.6069 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.4844, allocations: 17 kB / 0.6069 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.4844, allocations: 0 / 0.6069 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.4963, allocations: 1.442 MB / 0.6083 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.4965, allocations: 209.8 kB / 0.6085 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.149, allocations: 7.344 kB / 0.6085 GB, free: 38.85 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: