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.001411/0.001411, allocations: 96.42 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.00174, allocations: 175.3 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.416/2.416, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.266/1.266, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006544/0.0006545, allocations: 11.98 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3141, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.9594/1.274, allocations: 114.8 MB / 0.6689 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04625/1.32, allocations: 19.71 MB / 0.6881 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/1.32, allocations: 4 kB / 0.6881 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004685/1.321, allocations: 43.72 kB / 0.6881 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004818/1.321, allocations: 79.81 kB / 0.6882 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.03199/1.353, allocations: 5.125 MB / 0.6932 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007738/1.354, allocations: 176.6 kB / 0.6934 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/1.354, allocations: 9.562 kB / 0.6934 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007611/1.355, allocations: 131.6 kB / 0.6935 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/1.355, allocations: 75.73 kB / 0.6936 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/1.355, allocations: 8 kB / 0.6936 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03638/1.392, allocations: 10.68 MB / 0.704 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/1.392, allocations: 39.83 kB / 0.7041 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/1.392, allocations: 57.58 kB / 0.7041 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/1.409, allocations: 4.087 MB / 0.7081 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.409, allocations: 0 / 0.7081 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.629e-06/1.409, allocations: 0 / 0.7081 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.93e-05/1.409, allocations: 0 / 0.7081 GB, free: 14.82 MB / 0.5294 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.006594/1.415, allocations: 1.155 MB / 0.7093 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.537e-05/1.415, allocations: 12.03 kB / 0.7093 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.742e-05/1.416, allocations: 50.55 kB / 0.7093 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/1.417, allocations: 79.78 kB / 0.7094 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/1.418, allocations: 230.7 kB / 0.7096 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/1.418, allocations: 12 kB / 0.7096 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/1.418, allocations: 16 kB / 0.7096 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/1.42, allocations: 453.1 kB / 0.7101 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.42, allocations: 0 / 0.7101 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/1.42, allocations: 12 kB / 0.7101 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/1.42, allocations: 7.984 kB / 0.7101 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/1.422, allocations: 0.5937 MB / 0.7107 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/1.423, allocations: 0.9016 MB / 0.7115 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/1.425, allocations: 244.3 kB / 0.7118 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1372/1.562, allocations: 35.35 MB / 0.7463 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/1.562, allocations: 42.52 kB / 0.7463 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 2.925e-06/1.562, allocations: 0 / 0.7463 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.003008/1.565, allocations: 422 kB / 0.7467 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/1.565, allocations: 55.41 kB / 0.7468 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/1.565, allocations: 144.3 kB / 0.7469 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/1.565, allocations: 33.7 kB / 0.747 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.565, allocations: 108.4 kB / 0.7471 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/1.566, allocations: 82.75 kB / 0.7471 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/1.566, allocations: 8 kB / 0.7472 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.566, allocations: 318.8 kB / 0.7475 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/1.566, allocations: 83.94 kB / 0.7475 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/1.567, allocations: 129.1 kB / 0.7477 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/1.567, allocations: 83.92 kB / 0.7477 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.567, allocations: 0 / 0.7477 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001224/1.568, allocations: 304.6 kB / 0.748 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/1.568, allocations: 11.98 kB / 0.748 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.568, allocations: 4 kB / 0.748 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/1.568, allocations: 0 / 0.748 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/1.569, allocations: 83.88 kB / 0.7481 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.569, allocations: 0 / 0.7481 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/1.569, allocations: 19.84 kB / 0.7481 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/1.569, allocations: 27.91 kB / 0.7482 GB, free: 2.43 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000294/1.57, allocations: 129.8 kB / 0.7483 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/1.57, allocations: 19.81 kB / 0.7483 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.581, allocations: 2.348 MB / 0.7506 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.39e-05/1.581, allocations: 19.91 kB / 0.7506 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/1.581, allocations: 0 / 0.7506 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.581, allocations: 0 / 0.7506 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009918/1.591, allocations: 3.425 MB / 0.754 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/1.591, allocations: 3.953 kB / 0.754 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/1.592, allocations: 59.89 kB / 0.754 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.359e-05/1.592, allocations: 0 / 0.754 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.893e-05/1.592, allocations: 12 kB / 0.754 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/1.592, allocations: 3.984 kB / 0.754 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.592, allocations: 0 / 0.754 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/1.594, allocations: 0.542 MB / 0.7546 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/1.594, allocations: 152.4 kB / 0.7547 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/1.594, allocations: 4 kB / 0.7547 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/1.594, allocations: 23.98 kB / 0.7547 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/1.595, allocations: 15.97 kB / 0.7548 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/1.595, allocations: 15.94 kB / 0.7548 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001542/1.595, allocations: 109.6 kB / 0.7549 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.595, allocations: 0 / 0.7549 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01629/1.611, allocations: 1.62 MB / 0.7565 GB, free: 9.766 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 (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.02829/1.639, allocations: 2.886 MB / 0.7593 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.641, allocations: 321.1 kB / 0.7596 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.641, allocations: 4 kB / 0.7596 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/1.642, allocations: 245.4 kB / 0.7598 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/1.642, allocations: 52.2 kB / 0.7599 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.654, allocations: 2.774 MB / 0.7626 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/1.655, allocations: 0.778 MB / 0.7633 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0011/1.656, allocations: 405 kB / 0.7637 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/1.656, allocations: 103.4 kB / 0.7638 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of SimCode: time 1.763e-06/1.656, allocations: 0 / 0.7638 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2048/1.861, allocations: 61.37 MB / 0.8238 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003271/1.861, allocations: 160.4 kB / 0.8239 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/13.44, allocations: 7.438 kB / 0.8239 GB, free: 4.547 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: