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.000699/0.0006991, allocations: 92.7 kB / 15.7 MB, free: 472 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.0006982/0.0006982, allocations: 171.8 kB / 16.58 MB, free: 6.848 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.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5984/0.5984, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.000268, allocations: 8.219 kB / 493.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 77.12 MB / 0.5569 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.3272/0.4404, allocations: 123.2 MB / 0.6772 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.46, allocations: 20.99 MB / 0.6977 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.4601, allocations: 0 / 0.6977 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.4603, allocations: 43.8 kB / 0.6978 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.4605, allocations: 83.48 kB / 0.6978 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009508/0.47, allocations: 5.133 MB / 0.7029 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.4703, allocations: 271.9 kB / 0.7031 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.4704, allocations: 13.55 kB / 0.7031 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.4706, allocations: 131.5 kB / 0.7033 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4707, allocations: 87.66 kB / 0.7033 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4707, allocations: 8 kB / 0.7033 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.4843, allocations: 10.46 MB / 0.7136 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.4844, allocations: 43.81 kB / 0.7136 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.4844, allocations: 53.64 kB / 0.7137 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004058/0.4885, allocations: 4.089 MB / 0.7176 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4885, allocations: 0 / 0.7176 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4885, allocations: 0 / 0.7176 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.4885, allocations: 4 kB / 0.7176 GB, free: 5.734 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.001959/0.4905, allocations: 1.147 MB / 0.7188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.4905, allocations: 8.031 kB / 0.7188 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.4906, allocations: 54.55 kB / 0.7188 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008905/0.4915, allocations: 79.78 kB / 0.7189 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.4917, allocations: 230.7 kB / 0.7191 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4917, allocations: 8 kB / 0.7191 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.4918, allocations: 23.94 kB / 0.7192 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008965/0.4927, allocations: 457.1 kB / 0.7196 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4927, allocations: 0 / 0.7196 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.4927, allocations: 11.94 kB / 0.7196 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4927, allocations: 4 kB / 0.7196 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000984/0.4937, allocations: 0.5937 MB / 0.7202 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.4946, allocations: 0.8899 MB / 0.7211 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.4952, allocations: 242.4 kB / 0.7213 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.4953, allocations: 73.48 kB / 0.7214 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07115/0.5665, allocations: 35.33 MB / 0.7559 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5666, allocations: 41.69 kB / 0.7559 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.5666, allocations: 4 kB / 0.7559 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001389/0.568, allocations: 420.5 kB / 0.7563 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.568, allocations: 55.41 kB / 0.7564 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.5681, allocations: 143.7 kB / 0.7565 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.5682, allocations: 33.7 kB / 0.7565 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.5682, allocations: 112.3 kB / 0.7566 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.5683, allocations: 82.75 kB / 0.7567 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.5683, allocations: 8 kB / 0.7567 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5684, allocations: 326.8 kB / 0.757 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.5686, allocations: 79.95 kB / 0.7571 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.5688, allocations: 125.1 kB / 0.7572 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.569, allocations: 91.92 kB / 0.7573 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.569, allocations: 0 / 0.7573 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000579/0.5695, allocations: 299.4 kB / 0.7576 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5696, allocations: 7.953 kB / 0.7576 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5696, allocations: 4 kB / 0.7576 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5696, allocations: 4 kB / 0.7576 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.5699, allocations: 79.88 kB / 0.7577 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5699, allocations: 0 / 0.7577 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.57, allocations: 27.98 kB / 0.7577 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.5701, allocations: 19.98 kB / 0.7577 GB, free: 9.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.5702, allocations: 129.8 kB / 0.7579 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.5703, allocations: 19.81 kB / 0.7579 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.5724, allocations: 2.347 MB / 0.7602 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5724, allocations: 11.98 kB / 0.7602 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5724, allocations: 4 kB / 0.7602 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5724, allocations: 3.984 kB / 0.7602 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.5753, allocations: 3.417 MB / 0.7635 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5753, allocations: 0 / 0.7635 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.5756, allocations: 59.89 kB / 0.7636 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5756, allocations: 0 / 0.7636 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.5756, allocations: 8 kB / 0.7636 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5756, allocations: 0 / 0.7636 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5756, allocations: 3.984 kB / 0.7636 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.5763, allocations: 0.542 MB / 0.7641 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.5764, allocations: 152.4 kB / 0.7643 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.5764, allocations: 4 kB / 0.7643 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5766, allocations: 23.92 kB / 0.7643 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.5766, allocations: 16.86 kB / 0.7643 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.5767, allocations: 11.98 kB / 0.7643 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.5768, allocations: 109.7 kB / 0.7644 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5768, allocations: 0 / 0.7644 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003251/0.58, allocations: 1.628 MB / 0.766 GB, free: 0.6523 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.006286/0.5863, allocations: 2.87 MB / 0.7688 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005007/0.5868, allocations: 317.1 kB / 0.7691 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5868, allocations: 0 / 0.7691 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.5871, allocations: 249.3 kB / 0.7694 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.5876, allocations: 68.2 kB / 0.7694 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.5905, allocations: 2.034 MB / 0.7714 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5907, allocations: 0.7664 MB / 0.7722 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004935/0.5912, allocations: 405.3 kB / 0.7725 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.5914, allocations: 103.3 kB / 0.7726 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of SimCode: time 2.01e-07/0.5914, allocations: 0 / 0.7726 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/0.8808, allocations: 61.42 MB / 0.8326 GB, free: 231.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001135/0.881, allocations: 164 kB / 0.8328 GB, free: 231.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/5.539, allocations: 0 / 0.8328 GB, free: 231.6 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: