Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",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.0007766/0.0007765, allocations: 86.41 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.0008395/0.0008396, 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.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.009/1.009, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 83.41 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001769/0.1611, allocations: 0.9861 MB / 0.5985 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003918/0.1651, allocations: 3.044 MB / 0.6015 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1652, allocations: 0 / 0.6015 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.1652, allocations: 7.938 kB / 0.6015 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.1653, allocations: 0 / 0.6015 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.1658, allocations: 83.61 kB / 0.6015 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.1659, allocations: 35.84 kB / 0.6016 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.1659, allocations: 4 kB / 0.6016 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.166, allocations: 15.98 kB / 0.6016 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.166, allocations: 19.91 kB / 0.6016 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1661, allocations: 4 kB / 0.6016 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.1663, allocations: 51.86 kB / 0.6017 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1663, allocations: 11.97 kB / 0.6017 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.1663, allocations: 33.7 kB / 0.6017 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1665, allocations: 36.17 kB / 0.6018 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1665, allocations: 0 / 0.6018 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1665, allocations: 0 / 0.6018 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1665, allocations: 0 / 0.6018 GB, free: 3.336 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.0004073/0.1669, allocations: 339.3 kB / 0.6021 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.167, allocations: 11.97 kB / 0.6021 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.167, allocations: 38.56 kB / 0.6021 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.609e-05/0.1671, allocations: 11.94 kB / 0.6021 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1672, allocations: 167 kB / 0.6023 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1673, allocations: 0 / 0.6023 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1673, allocations: 8 kB / 0.6023 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1674, allocations: 49.67 kB / 0.6024 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1675, allocations: 3.938 kB / 0.6024 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1675, allocations: 0 / 0.6024 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1675, allocations: 0 / 0.6024 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.1676, allocations: 31.88 kB / 0.6024 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.1678, allocations: 169.6 kB / 0.6025 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.1678, allocations: 54.61 kB / 0.6026 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.1679, allocations: 16.84 kB / 0.6026 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.1686, allocations: 0.583 MB / 0.6032 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1686, allocations: 42.52 kB / 0.6032 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1686, allocations: 0 / 0.6032 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005998/0.1692, allocations: 298.2 kB / 0.6035 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.1693, allocations: 51.41 kB / 0.6036 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.693e-05/0.1694, allocations: 102.1 kB / 0.6037 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1694, allocations: 29.7 kB / 0.6037 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.1695, allocations: 92.03 kB / 0.6038 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1695, allocations: 31.55 kB / 0.6038 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.1695, allocations: 0 / 0.6038 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1696, allocations: 318.8 kB / 0.6041 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.1697, allocations: 19.92 kB / 0.6041 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.1697, allocations: 53.14 kB / 0.6042 GB, free: 472 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.1698, allocations: 23.94 kB / 0.6042 GB, free: 448 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1698, allocations: 0 / 0.6042 GB, free: 448 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001444/0.17, allocations: 101.7 kB / 0.6043 GB, free: 340 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.17, allocations: 4 kB / 0.6043 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.17, allocations: 0 / 0.6043 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.17, allocations: 4.125 kB / 0.6043 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.1701, allocations: 20 kB / 0.6043 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1701, allocations: 7.984 kB / 0.6043 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.1702, allocations: 4 kB / 0.6043 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1702, allocations: 4 kB / 0.6043 GB, free: 296 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 9.516e-05/0.1703, allocations: 117.8 kB / 0.6044 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1703, allocations: 7.859 kB / 0.6045 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.1703, allocations: 12.41 kB / 0.6045 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1703, allocations: 0 / 0.6045 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1704, allocations: 4 kB / 0.6045 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1704, allocations: 0 / 0.6045 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2751/0.4455, allocations: 173.3 kB / 0.6046 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4455, allocations: 0 / 0.6046 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.4456, allocations: 17.19 kB / 0.6047 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.4457, allocations: 0 / 0.6047 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4457, allocations: 2.453 kB / 0.6047 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4457, allocations: 0.6562 kB / 0.6047 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4457, allocations: 0.9688 kB / 0.6047 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.4459, allocations: 169 kB / 0.6048 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.446, allocations: 86.8 kB / 0.6049 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.446, allocations: 3.188 kB / 0.6049 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4461, allocations: 8.875 kB / 0.6049 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.4461, allocations: 3.938 kB / 0.6049 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4462, allocations: 5.266 kB / 0.6049 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.4462, allocations: 84.2 kB / 0.605 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4462, allocations: 0 / 0.605 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000351/0.4466, allocations: 12.84 kB / 0.605 GB, free: 40.47 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.0003143/0.4469, allocations: 0.705 MB / 0.6057 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.447, allocations: 42.09 kB / 0.6057 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.447, allocations: 4.188 kB / 0.6057 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.447, allocations: 19.98 kB / 0.6058 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.4473, allocations: 8.281 kB / 0.6058 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008063/0.4482, allocations: 0.683 MB / 0.6064 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.4483, allocations: 0.6852 MB / 0.6071 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.336e-05/0.4483, allocations: 13.3 kB / 0.6071 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.4484, allocations: 14.12 kB / 0.6071 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.4484, allocations: 1.312 kB / 0.6071 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.4589, allocations: 1.431 MB / 0.6085 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001215/0.4591, allocations: 192.5 kB / 0.6087 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.056, allocations: 0 / 0.6087 GB, free: 38.29 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: