Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_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.001651/0.001651, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00183/0.00183, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.577/2.577, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.17/1.17, allocations: 132.3 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006301/0.0006304, allocations: 8 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8304, allocations: 81.58 MB / 0.583 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.2207/1.051, allocations: 114.9 MB / 0.6951 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03863/1.09, allocations: 19.72 MB / 0.7144 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/1.09, allocations: 0 / 0.7144 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004592/1.091, allocations: 31.81 kB / 0.7144 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004682/1.091, allocations: 87.73 kB / 0.7145 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.03359/1.125, allocations: 5.131 MB / 0.7195 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006163/1.126, allocations: 164.7 kB / 0.7197 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/1.126, allocations: 9.562 kB / 0.7197 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/1.126, allocations: 119.6 kB / 0.7198 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/1.126, allocations: 75.73 kB / 0.7199 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/1.126, allocations: 12 kB / 0.7199 GB, free: 4.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03832/1.165, allocations: 10.69 MB / 0.7303 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/1.165, allocations: 31.89 kB / 0.7303 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/1.165, allocations: 53.64 kB / 0.7304 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02033/1.186, allocations: 4.078 MB / 0.7344 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.186, allocations: 4 kB / 0.7344 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.202e-06/1.186, allocations: 0 / 0.7344 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.138e-06/1.186, allocations: 0 / 0.7344 GB, free: 5.152 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.007137/1.193, allocations: 1.154 MB / 0.7355 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 9.293e-05/1.193, allocations: 11.97 kB / 0.7355 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/1.193, allocations: 50.55 kB / 0.7356 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.195, allocations: 83.73 kB / 0.7356 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/1.196, allocations: 226.8 kB / 0.7359 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/1.196, allocations: 15.95 kB / 0.7359 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/1.196, allocations: 16 kB / 0.7359 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.198, allocations: 444.5 kB / 0.7363 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.198, allocations: 4 kB / 0.7363 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/1.198, allocations: 4 kB / 0.7363 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/1.198, allocations: 4 kB / 0.7363 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/1.2, allocations: 0.5969 MB / 0.7369 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/1.202, allocations: 0.9056 MB / 0.7378 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/1.204, allocations: 255.7 kB / 0.738 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.166/1.37, allocations: 35.36 MB / 0.7726 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/1.37, allocations: 50.48 kB / 0.7726 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.735e-06/1.37, allocations: 0 / 0.7726 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.003055/1.373, allocations: 410 kB / 0.773 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.373, allocations: 55.41 kB / 0.7731 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/1.373, allocations: 136.4 kB / 0.7732 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/1.373, allocations: 29.7 kB / 0.7732 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/1.373, allocations: 112.3 kB / 0.7733 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/1.374, allocations: 90.73 kB / 0.7734 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/1.374, allocations: 0 / 0.7734 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.374, allocations: 334.8 kB / 0.7737 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/1.374, allocations: 83.94 kB / 0.7738 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/1.374, allocations: 126.5 kB / 0.7739 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/1.375, allocations: 89.52 kB / 0.774 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.375, allocations: 0 / 0.774 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001066/1.376, allocations: 295.9 kB / 0.7743 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.376, allocations: 4 kB / 0.7743 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.376, allocations: 0 / 0.7743 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.376, allocations: 4 kB / 0.7743 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/1.376, allocations: 83.88 kB / 0.7744 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.376, allocations: 4 kB / 0.7744 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/1.377, allocations: 23.91 kB / 0.7744 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/1.377, allocations: 27.97 kB / 0.7744 GB, free: 8.75 MB / 0.6075 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.0002036/1.377, allocations: 129.7 kB / 0.7746 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/1.377, allocations: 15.81 kB / 0.7746 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/1.381, allocations: 2.343 MB / 0.7769 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/1.381, allocations: 15.97 kB / 0.7769 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.381, allocations: 0 / 0.7769 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.381, allocations: 0 / 0.7769 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/1.385, allocations: 3.432 MB / 0.7802 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.385, allocations: 0 / 0.7802 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/1.386, allocations: 55.88 kB / 0.7803 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/1.386, allocations: 4 kB / 0.7803 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.386, allocations: 8 kB / 0.7803 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/1.386, allocations: 4 kB / 0.7803 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.386, allocations: 3.938 kB / 0.7803 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.387, allocations: 0.5498 MB / 0.7808 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/1.387, allocations: 148.5 kB / 0.781 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/1.387, allocations: 8 kB / 0.781 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/1.388, allocations: 15.98 kB / 0.781 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/1.388, allocations: 15.98 kB / 0.781 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/1.388, allocations: 15.98 kB / 0.781 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001471/1.388, allocations: 105.6 kB / 0.7811 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/1.388, allocations: 0 / 0.7811 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007692/1.396, allocations: 1.628 MB / 0.7827 GB, free: 108 kB / 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 (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.01458/1.41, allocations: 2.878 MB / 0.7855 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008282/1.411, allocations: 324.2 kB / 0.7858 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.411, allocations: 0 / 0.7858 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/1.411, allocations: 237.5 kB / 0.7861 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/1.412, allocations: 59.98 kB / 0.7861 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/1.419, allocations: 2.795 MB / 0.7889 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/1.419, allocations: 0.7663 MB / 0.7896 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006538/1.42, allocations: 413 kB / 0.79 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/1.42, allocations: 99.38 kB / 0.7901 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/1.42, allocations: 0 / 0.7901 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6977/2.118, allocations: 61.36 MB / 0.85 GB, free: 187 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/2.118, allocations: 149.6 kB / 0.8502 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/12.84, allocations: 0 / 0.8502 GB, free: 186.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: