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.001761/0.001761, allocations: 101.3 kB / 15.98 MB, free: 6.344 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.002013/0.002013, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 493.2 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3004, allocations: 76.17 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1168/0.4173, allocations: 134.2 MB / 0.687 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.4392, allocations: 22.99 MB / 0.7095 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.4394, allocations: 0 / 0.7095 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.4396, allocations: 43.8 kB / 0.7095 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.4399, allocations: 87.48 kB / 0.7096 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.4547, allocations: 6.139 MB / 0.7156 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.4552, allocations: 251.9 kB / 0.7158 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.4553, allocations: 13.55 kB / 0.7159 GB, free: 492 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.4558, allocations: 135.5 kB / 0.716 GB, free: 356 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.456, allocations: 91.66 kB / 0.7161 GB, free: 264 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.456, allocations: 15.92 kB / 0.7161 GB, free: 248 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03008/0.4861, allocations: 11.46 MB / 0.7273 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4863, allocations: 39.84 kB / 0.7273 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.4865, allocations: 83.64 kB / 0.7274 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.5017, allocations: 6.515 MB / 0.7338 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5018, allocations: 0 / 0.7338 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5018, allocations: 0 / 0.7338 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5018, allocations: 0 / 0.7338 GB, free: 14.12 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.00286/0.5046, allocations: 1.201 MB / 0.7349 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.5047, allocations: 8.031 kB / 0.7349 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.5047, allocations: 54.73 kB / 0.735 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.5058, allocations: 92.66 kB / 0.7351 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.506, allocations: 224 kB / 0.7353 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.506, allocations: 15.94 kB / 0.7353 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.506, allocations: 16 kB / 0.7353 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5071, allocations: 460.8 kB / 0.7358 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5072, allocations: 4 kB / 0.7358 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.5072, allocations: 8 kB / 0.7358 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.5072, allocations: 4 kB / 0.7358 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5083, allocations: 0.5969 MB / 0.7364 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008777/0.5092, allocations: 0.8822 MB / 0.7372 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.51, allocations: 254.3 kB / 0.7375 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.5101, allocations: 72.84 kB / 0.7375 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2649/0.775, allocations: 35.03 MB / 0.7717 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.7751, allocations: 39.66 kB / 0.7718 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.7751, allocations: 0 / 0.7718 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001596/0.7767, allocations: 425.1 kB / 0.7722 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/0.7767, allocations: 59.86 kB / 0.7722 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.7768, allocations: 145.1 kB / 0.7724 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.7769, allocations: 31.2 kB / 0.7724 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.7769, allocations: 107.6 kB / 0.7725 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.777, allocations: 88.34 kB / 0.7726 GB, free: 154 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.7771, allocations: 78.64 kB / 0.7727 GB, free: 154 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.7771, allocations: 326.3 kB / 0.773 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.7773, allocations: 76.78 kB / 0.7731 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.7775, allocations: 137 kB / 0.7732 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.7779, allocations: 222.9 kB / 0.7734 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7779, allocations: 1.188 kB / 0.7734 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006614/0.7785, allocations: 295.3 kB / 0.7737 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7785, allocations: 7.062 kB / 0.7737 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7786, allocations: 4.078 kB / 0.7737 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7786, allocations: 2.281 kB / 0.7737 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.7789, allocations: 82.19 kB / 0.7738 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7789, allocations: 7.312 kB / 0.7738 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.779, allocations: 25.38 kB / 0.7738 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.7791, allocations: 25.97 kB / 0.7738 GB, free: 153.3 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 9.065e-05/0.7792, allocations: 132.9 kB / 0.774 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.7793, allocations: 17.31 kB / 0.774 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.7811, allocations: 2.34 MB / 0.7763 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.7811, allocations: 11.41 kB / 0.7763 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7811, allocations: 5.156 kB / 0.7763 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7811, allocations: 3.75 kB / 0.7763 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.7834, allocations: 3.419 MB / 0.7796 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7834, allocations: 0 / 0.7796 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.7836, allocations: 59.61 kB / 0.7797 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7836, allocations: 1.281 kB / 0.7797 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7837, allocations: 11.64 kB / 0.7797 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7837, allocations: 1.375 kB / 0.7797 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7837, allocations: 0 / 0.7797 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.7843, allocations: 0.5524 MB / 0.7802 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.7844, allocations: 148.7 kB / 0.7804 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.7844, allocations: 7.344 kB / 0.7804 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.7846, allocations: 15.34 kB / 0.7804 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.7847, allocations: 12.08 kB / 0.7804 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.7847, allocations: 16.09 kB / 0.7804 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.7848, allocations: 105.3 kB / 0.7805 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7848, allocations: 3.938 kB / 0.7805 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00304/0.7878, allocations: 1.69 MB / 0.7822 GB, free: 149.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.006575/0.7944, allocations: 2.941 MB / 0.785 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.7949, allocations: 335.4 kB / 0.7854 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7949, allocations: 3.844 kB / 0.7854 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.7951, allocations: 232.1 kB / 0.7856 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.7956, allocations: 72.16 kB / 0.7857 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.7989, allocations: 3.168 MB / 0.7888 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.799, allocations: 0.7653 MB / 0.7895 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003718/0.7994, allocations: 410.9 kB / 0.7899 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.7995, allocations: 95.05 kB / 0.79 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.7995, allocations: 0 / 0.79 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.228/3.028, allocations: 63.28 MB / 0.8518 GB, free: 83.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/3.028, allocations: 178.9 kB / 0.8519 GB, free: 83.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.173/8.201, allocations: 0 / 0.8519 GB, free: 83.17 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)