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.001378/0.001378, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001586/0.001586, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7776/0.7776, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 59.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4347, allocations: 77.93 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1585/0.5932, allocations: 136.1 MB / 0.7002 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03043/0.6237, allocations: 22.68 MB / 0.7223 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.6239, allocations: 0 / 0.7223 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.6243, allocations: 43.69 kB / 0.7224 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.6248, allocations: 99.28 kB / 0.7225 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01969/0.6445, allocations: 6.947 MB / 0.7292 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.6451, allocations: 251.9 kB / 0.7295 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.6452, allocations: 9.562 kB / 0.7295 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.6457, allocations: 139.5 kB / 0.7296 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.6459, allocations: 87.66 kB / 0.7297 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.6459, allocations: 11.94 kB / 0.7297 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/0.6717, allocations: 11.34 MB / 0.7408 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.6719, allocations: 35.84 kB / 0.7408 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.6721, allocations: 79.66 kB / 0.7409 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02347/0.6956, allocations: 6.492 MB / 0.7472 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.6957, allocations: 0 / 0.7472 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6957, allocations: 0 / 0.7472 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.6957, allocations: 4 kB / 0.7472 GB, free: 1.984 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.004867/0.7006, allocations: 1.197 MB / 0.7484 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/0.7007, allocations: 12.61 kB / 0.7484 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/0.7008, allocations: 46.75 kB / 0.7485 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.7027, allocations: 88.66 kB / 0.7486 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.7031, allocations: 224 kB / 0.7488 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.7032, allocations: 19.92 kB / 0.7488 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.7032, allocations: 12 kB / 0.7488 GB, free: 304 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3372/1.04, allocations: 451 kB / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/1.04, allocations: 0.7812 kB / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/1.041, allocations: 8.406 kB / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/1.041, allocations: 3.844 kB / 0.7492 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/1.042, allocations: 0.5948 MB / 0.7498 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/1.043, allocations: 0.8804 MB / 0.7507 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/1.044, allocations: 253.3 kB / 0.7509 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/1.045, allocations: 79.19 kB / 0.751 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08504/1.13, allocations: 35.04 MB / 0.7852 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.13, allocations: 39.78 kB / 0.7853 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/1.13, allocations: 2.875 kB / 0.7853 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001744/1.131, allocations: 422.5 kB / 0.7857 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/1.131, allocations: 55.41 kB / 0.7857 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/1.132, allocations: 142.1 kB / 0.7858 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/1.132, allocations: 33.7 kB / 0.7859 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/1.132, allocations: 106.2 kB / 0.786 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/1.132, allocations: 84.3 kB / 0.7861 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/1.132, allocations: 77.66 kB / 0.7861 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.505e-05/1.132, allocations: 338.8 kB / 0.7865 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/1.132, allocations: 79.95 kB / 0.7865 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/1.132, allocations: 129.1 kB / 0.7867 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/1.133, allocations: 232.2 kB / 0.7869 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.133, allocations: 0 / 0.7869 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006769/1.133, allocations: 297.2 kB / 0.7872 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.133, allocations: 8 kB / 0.7872 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.133, allocations: 160 / 0.7872 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.133, allocations: 8 kB / 0.7872 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/1.134, allocations: 83.81 kB / 0.7873 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.134, allocations: 0 / 0.7873 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/1.134, allocations: 23.75 kB / 0.7873 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/1.134, allocations: 27.92 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.0001076/1.134, allocations: 125.8 kB / 0.7874 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/1.134, allocations: 15.89 kB / 0.7874 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/1.136, allocations: 2.341 MB / 0.7897 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.136, allocations: 15.97 kB / 0.7897 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.136, allocations: 8 kB / 0.7898 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.136, allocations: 0 / 0.7898 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/1.138, allocations: 3.424 MB / 0.7931 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.138, allocations: 0 / 0.7931 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/1.138, allocations: 62.89 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/1.138, allocations: 0 / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.138, allocations: 15.92 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.138, allocations: 3.984 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.138, allocations: 4 kB / 0.7932 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/1.139, allocations: 0.5418 MB / 0.7937 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/1.139, allocations: 140.6 kB / 0.7938 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/1.139, allocations: 11.78 kB / 0.7939 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/1.139, allocations: 15.98 kB / 0.7939 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/1.14, allocations: 15.98 kB / 0.7939 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/1.14, allocations: 15.98 kB / 0.7939 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.456e-05/1.14, allocations: 109.1 kB / 0.794 GB, free: 135 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/1.14, allocations: 0 / 0.794 GB, free: 135 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003884/1.143, allocations: 1.693 MB / 0.7957 GB, free: 133.4 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.00943/1.153, allocations: 2.927 MB / 0.7985 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000821/1.154, allocations: 342.9 kB / 0.7988 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.154, allocations: 0 / 0.7988 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/1.154, allocations: 236.8 kB / 0.7991 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/1.155, allocations: 62.67 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.005459/1.16, allocations: 3.056 MB / 0.8021 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/1.16, allocations: 0.77 MB / 0.8029 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004342/1.161, allocations: 408.7 kB / 0.8033 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.161, allocations: 91.39 kB / 0.8033 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.161, allocations: 1.5 kB / 0.8033 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09383/1.255, allocations: 63.29 MB / 0.8651 GB, free: 62.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/13.16, allocations: 10.59 kB / 0.8652 GB, free: 62.39 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 & /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)