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.001559/0.001559, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001891/0.001891, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.74/1.74, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7781/0.7781, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 66.75 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2287, allocations: 76.18 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.9499/1.179, allocations: 136.1 MB / 0.7645 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.07428/1.253, allocations: 22.67 MB / 0.7866 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005326/1.254, allocations: 2.375 kB / 0.7866 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007259/1.255, allocations: 45.53 kB / 0.7867 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/1.256, allocations: 94.94 kB / 0.7868 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.05755/1.313, allocations: 6.943 MB / 0.7935 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001073/1.314, allocations: 254.2 kB / 0.7938 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/1.315, allocations: 16.97 kB / 0.7938 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006287/1.315, allocations: 144.7 kB / 0.7939 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/1.316, allocations: 84.39 kB / 0.794 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/1.316, allocations: 10.09 kB / 0.794 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04117/1.357, allocations: 11.64 MB / 0.8054 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/1.357, allocations: 39.31 kB / 0.8054 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003011/1.357, allocations: 86.83 kB / 0.8055 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04209/1.399, allocations: 6.472 MB / 0.8118 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.921e-05/1.4, allocations: 0 / 0.8118 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-05/1.4, allocations: 0 / 0.8118 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.241e-05/1.4, allocations: 3.188 kB / 0.8118 GB, free: 4.473 MB / 0.5919 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.008634/1.408, allocations: 1.202 MB / 0.813 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.517e-05/1.408, allocations: 10.22 kB / 0.813 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.801e-05/1.409, allocations: 54.39 kB / 0.8131 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.41, allocations: 84.09 kB / 0.8132 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/1.41, allocations: 232.1 kB / 0.8134 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/1.41, allocations: 18.78 kB / 0.8134 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/1.41, allocations: 14.66 kB / 0.8134 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/1.412, allocations: 452.3 kB / 0.8138 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/1.412, allocations: 3.938 kB / 0.8139 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/1.412, allocations: 6.688 kB / 0.8139 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/1.412, allocations: 5.031 kB / 0.8139 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/1.414, allocations: 0.5898 MB / 0.8144 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/1.416, allocations: 0.8835 MB / 0.8153 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.418, allocations: 258 kB / 0.8155 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/1.418, allocations: 70.2 kB / 0.8156 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1691/1.587, allocations: 35.42 MB / 0.8502 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.878e-05/1.587, allocations: 41.69 kB / 0.8502 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 4.589e-06/1.587, allocations: 0 / 0.8502 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.003242/1.59, allocations: 424.8 kB / 0.8507 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/1.59, allocations: 51.41 kB / 0.8507 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/1.591, allocations: 139.2 kB / 0.8508 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/1.591, allocations: 29.7 kB / 0.8509 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/1.591, allocations: 109.5 kB / 0.851 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.591, allocations: 90.75 kB / 0.8511 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.591, allocations: 77.66 kB / 0.8511 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.591, allocations: 326.8 kB / 0.8514 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/1.592, allocations: 79.95 kB / 0.8515 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/1.592, allocations: 129.6 kB / 0.8516 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.593, allocations: 225.8 kB / 0.8519 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.593, allocations: 0 / 0.8519 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001503/1.595, allocations: 305.3 kB / 0.8521 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/1.595, allocations: 10.03 kB / 0.8522 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/1.595, allocations: 0 / 0.8522 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/1.595, allocations: 9.188 kB / 0.8522 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/1.596, allocations: 83.81 kB / 0.8522 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.184e-05/1.596, allocations: 7.984 kB / 0.8522 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/1.596, allocations: 23.69 kB / 0.8523 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.596, allocations: 23.98 kB / 0.8523 GB, free: 12.57 MB / 0.6387 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.000358/1.597, allocations: 125.8 kB / 0.8524 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/1.597, allocations: 19.94 kB / 0.8524 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/1.602, allocations: 2.338 MB / 0.8547 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.496e-05/1.602, allocations: 11.98 kB / 0.8547 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.602, allocations: 0 / 0.8547 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.602, allocations: 7.922 kB / 0.8547 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007317/1.609, allocations: 3.421 MB / 0.8581 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.609, allocations: 0 / 0.8581 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/1.61, allocations: 55.89 kB / 0.8581 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.83e-05/1.61, allocations: 5.125 kB / 0.8581 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/1.61, allocations: 11.94 kB / 0.8581 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/1.61, allocations: 0 / 0.8581 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/1.61, allocations: 7.969 kB / 0.8582 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/1.612, allocations: 0.5466 MB / 0.8587 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/1.613, allocations: 136.6 kB / 0.8588 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/1.613, allocations: 13.14 kB / 0.8588 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/1.613, allocations: 11.98 kB / 0.8588 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/1.613, allocations: 15.98 kB / 0.8589 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/1.613, allocations: 20.86 kB / 0.8589 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000191/1.614, allocations: 103.3 kB / 0.859 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.61e-07/1.614, allocations: 3.938 kB / 0.859 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01226/1.626, allocations: 1.69 MB / 0.8606 GB, free: 3.875 MB / 0.6387 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.0193/1.645, allocations: 2.921 MB / 0.8635 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.647, allocations: 326 kB / 0.8638 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.647, allocations: 0 / 0.8638 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006346/1.647, allocations: 240.5 kB / 0.864 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/1.648, allocations: 69.97 kB / 0.8641 GB, free: 480 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.661, allocations: 3.061 MB / 0.8671 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/1.662, allocations: 0.7661 MB / 0.8678 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009244/1.662, allocations: 401.2 kB / 0.8682 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.663, allocations: 103.4 kB / 0.8683 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of SimCode: time 2.074e-06/1.663, allocations: 0 / 0.8683 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/1.876, allocations: 63.26 MB / 0.9301 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.88/23.76, allocations: 13.88 kB / 0.9301 GB, free: 12.76 MB / 0.7169 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)