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.001104/0.001104, allocations: 100.1 kB / 15.88 MB, free: 12 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.001083/0.001083, allocations: 206.7 kB / 16.79 MB, free: 6.84 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6772/0.6772, allocations: 115.3 MB / 406 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.06 kB / 493 MB, free: 6.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1226, allocations: 76.19 MB / 0.5558 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.3502/0.4728, allocations: 134 MB / 0.6867 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.4996, allocations: 25.16 MB / 0.7113 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.4998, allocations: 0 / 0.7113 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.5, allocations: 35.81 kB / 0.7113 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.5003, allocations: 83.48 kB / 0.7114 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.5119, allocations: 5.489 MB / 0.7167 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.5122, allocations: 311.8 kB / 0.717 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.5122, allocations: 9.562 kB / 0.717 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.5125, allocations: 131.5 kB / 0.7172 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.5126, allocations: 87.66 kB / 0.7172 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.5127, allocations: 12 kB / 0.7173 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01962/0.5323, allocations: 11.52 MB / 0.7285 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.5324, allocations: 43.89 kB / 0.7285 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.5326, allocations: 83.53 kB / 0.7286 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.5453, allocations: 6.511 MB / 0.735 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5454, allocations: 0 / 0.735 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5454, allocations: 4 kB / 0.735 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5454, allocations: 0 / 0.735 GB, free: 15.4 MB / 0.5606 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.003047/0.5484, allocations: 1.198 MB / 0.7362 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5485, allocations: 16.02 kB / 0.7362 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.5485, allocations: 50.69 kB / 0.7362 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5496, allocations: 84.66 kB / 0.7363 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.5499, allocations: 236.2 kB / 0.7365 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5499, allocations: 15.92 kB / 0.7365 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.5499, allocations: 16 kB / 0.7366 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5512, allocations: 452.5 kB / 0.737 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5512, allocations: 0 / 0.737 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.5513, allocations: 8 kB / 0.737 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.5513, allocations: 4 kB / 0.737 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5525, allocations: 0.5976 MB / 0.7376 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.5536, allocations: 0.8782 MB / 0.7384 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/0.5545, allocations: 254.3 kB / 0.7387 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.5546, allocations: 72.83 kB / 0.7388 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08211/0.6367, allocations: 35.04 MB / 0.773 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6368, allocations: 42.56 kB / 0.773 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 4.098e-06/0.6368, allocations: 3.984 kB / 0.773 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001864/0.6387, allocations: 423.9 kB / 0.7734 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.6388, allocations: 59.34 kB / 0.7735 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.6389, allocations: 133.8 kB / 0.7736 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.6389, allocations: 29.7 kB / 0.7736 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.639, allocations: 116.3 kB / 0.7737 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.6391, allocations: 82.73 kB / 0.7738 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.6392, allocations: 85.66 kB / 0.7739 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6393, allocations: 326.8 kB / 0.7742 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.6395, allocations: 75.95 kB / 0.7743 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.6397, allocations: 129.1 kB / 0.7744 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.6402, allocations: 220.5 kB / 0.7746 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6402, allocations: 0 / 0.7746 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007623/0.6409, allocations: 297.2 kB / 0.7749 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.641, allocations: 14.59 kB / 0.7749 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.641, allocations: 4 kB / 0.7749 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.641, allocations: 0 / 0.7749 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.6413, allocations: 79.88 kB / 0.775 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.6413, allocations: 7.938 kB / 0.775 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.6415, allocations: 27.77 kB / 0.775 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.6415, allocations: 19.98 kB / 0.775 GB, free: 2.973 MB / 0.5919 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.0001192/0.6417, allocations: 125.8 kB / 0.7752 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.6418, allocations: 15.81 kB / 0.7752 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.6439, allocations: 2.354 MB / 0.7775 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.644, allocations: 15.92 kB / 0.7775 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.644, allocations: 0 / 0.7775 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.644, allocations: 11.92 kB / 0.7775 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.647, allocations: 3.419 MB / 0.7808 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.647, allocations: 0.875 kB / 0.7808 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.6473, allocations: 55.95 kB / 0.7809 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6473, allocations: 0 / 0.7809 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.6473, allocations: 19.88 kB / 0.7809 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.6473, allocations: 3.984 kB / 0.7809 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6474, allocations: 0 / 0.7809 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.6481, allocations: 0.535 MB / 0.7814 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6482, allocations: 146.2 kB / 0.7816 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.6483, allocations: 7.938 kB / 0.7816 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.6485, allocations: 15.98 kB / 0.7816 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.6485, allocations: 19.98 kB / 0.7816 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.6486, allocations: 11.98 kB / 0.7816 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.6486, allocations: 103.3 kB / 0.7817 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6486, allocations: 7.938 kB / 0.7817 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003744/0.6524, allocations: 1.687 MB / 0.7834 GB, free: 10.26 MB / 0.6075 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.008444/0.6608, allocations: 2.93 MB / 0.7863 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.6614, allocations: 324.1 kB / 0.7866 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6614, allocations: 8 kB / 0.7866 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.6617, allocations: 241.5 kB / 0.7868 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.6622, allocations: 58.05 kB / 0.7869 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.6666, allocations: 3.181 MB / 0.79 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.6669, allocations: 0.7622 MB / 0.7907 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.6674, allocations: 401.2 kB / 0.7911 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.6676, allocations: 103.4 kB / 0.7912 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6676, allocations: 4 kB / 0.7912 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.656/1.324, allocations: 62.97 MB / 0.8527 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/1.324, allocations: 181.1 kB / 0.8529 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.335/6.659, allocations: 3.062 kB / 0.8529 GB, free: 200.3 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/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)