Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",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.001108/0.001108, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001125/0.001125, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.278/1.278, 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.7251/0.7251, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 59.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.134/0.4417, allocations: 136.1 MB / 0.7002 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02523/0.467, allocations: 22.68 MB / 0.7223 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.4672, allocations: 0 / 0.7223 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.4675, allocations: 47.67 kB / 0.7224 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.4678, allocations: 91.36 kB / 0.7225 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01763/0.4854, allocations: 6.951 MB / 0.7292 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.4858, allocations: 247.9 kB / 0.7295 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.4859, allocations: 13.56 kB / 0.7295 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.4862, allocations: 143.4 kB / 0.7296 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.4863, allocations: 91.59 kB / 0.7297 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.4864, allocations: 8 kB / 0.7297 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02125/0.5076, allocations: 11.33 MB / 0.7408 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5078, allocations: 31.89 kB / 0.7408 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.5079, allocations: 87.53 kB / 0.7409 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.5203, allocations: 6.492 MB / 0.7472 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5203, allocations: 4 kB / 0.7472 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5203, allocations: 0 / 0.7472 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5203, allocations: 0 / 0.7472 GB, free: 1.992 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003021/0.5234, allocations: 1.193 MB / 0.7484 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5234, allocations: 12.61 kB / 0.7484 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.5235, allocations: 46.75 kB / 0.7485 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.5246, allocations: 88.66 kB / 0.7485 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.5248, allocations: 228 kB / 0.7488 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5249, allocations: 23.88 kB / 0.7488 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.5249, allocations: 12 kB / 0.7488 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2297/0.7546, allocations: 445.9 kB / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.7547, allocations: 0 / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.7547, allocations: 5.906 kB / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.7547, allocations: 4.375 kB / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.7561, allocations: 0.6019 MB / 0.7498 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/0.7571, allocations: 0.8804 MB / 0.7507 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.7579, allocations: 249.3 kB / 0.7509 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.758, allocations: 78.33 kB / 0.751 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07879/0.8368, allocations: 35.05 MB / 0.7852 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.8369, allocations: 40.67 kB / 0.7853 GB, free: 144 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.8369, allocations: 0 / 0.7853 GB, free: 144 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001638/0.8386, allocations: 425.8 kB / 0.7857 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.8386, allocations: 55.41 kB / 0.7857 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.8387, allocations: 139.9 kB / 0.7858 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.8387, allocations: 29.7 kB / 0.7859 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.8388, allocations: 110.5 kB / 0.786 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.8388, allocations: 88.33 kB / 0.7861 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.8389, allocations: 73.67 kB / 0.7861 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.839, allocations: 334.8 kB / 0.7865 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.8392, allocations: 83.88 kB / 0.7865 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.8393, allocations: 137.1 kB / 0.7867 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.8397, allocations: 217 kB / 0.7869 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8397, allocations: 0 / 0.7869 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006249/0.8403, allocations: 304.7 kB / 0.7872 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8404, allocations: 4 kB / 0.7872 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8404, allocations: 0 / 0.7872 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.8404, allocations: 4 kB / 0.7872 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.8407, allocations: 79.88 kB / 0.7872 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.8407, allocations: 4 kB / 0.7873 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.8408, allocations: 23.91 kB / 0.7873 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.8409, allocations: 31.91 kB / 0.7873 GB, free: 142 MB / 0.5762 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 (30): * Single equations (assignments): 30 * 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 0.0001025/0.841, allocations: 125.8 kB / 0.7874 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.8411, allocations: 15.91 kB / 0.7874 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.8428, allocations: 2.355 MB / 0.7897 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.8428, allocations: 11.98 kB / 0.7898 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8428, allocations: 0 / 0.7898 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8428, allocations: 0 / 0.7898 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.845, allocations: 3.424 MB / 0.7931 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.845, allocations: 0 / 0.7931 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.8452, allocations: 59.94 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.8452, allocations: 0.625 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.8452, allocations: 7.938 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8453, allocations: 7.984 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8453, allocations: 0 / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.8458, allocations: 0.5573 MB / 0.7937 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.8459, allocations: 139.3 kB / 0.7938 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.846, allocations: 15.92 kB / 0.7939 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.8462, allocations: 11.66 kB / 0.7939 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.8462, allocations: 23.97 kB / 0.7939 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.8463, allocations: 8 kB / 0.7939 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.8463, allocations: 107.2 kB / 0.794 GB, free: 135 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8463, allocations: 0 / 0.794 GB, free: 135 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003984/0.8503, allocations: 1.684 MB / 0.7957 GB, free: 133.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007055/0.8574, allocations: 2.937 MB / 0.7985 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.858, allocations: 336.2 kB / 0.7988 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.858, allocations: 0 / 0.7988 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.8582, allocations: 248.5 kB / 0.7991 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.8587, allocations: 58.12 kB / 0.7991 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.8626, allocations: 3.057 MB / 0.8021 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.8628, allocations: 0.7661 MB / 0.8029 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004/0.8632, allocations: 400.9 kB / 0.8032 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.8633, allocations: 99.39 kB / 0.8033 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.8633, allocations: 0 / 0.8033 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08201/0.9453, allocations: 63.29 MB / 0.8651 GB, free: 62.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.67, allocations: 12 kB / 0.8652 GB, free: 62.42 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)