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.001603/0.001603, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001153/0.001153, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.184/1.184, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7882/0.7882, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 73.02 kB / 0.5012 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1434, allocations: 80.19 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3298/0.4733, allocations: 134 MB / 0.7104 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02802/0.5013, allocations: 24.63 MB / 0.7344 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.5016, allocations: 5.062 kB / 0.7345 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.5019, allocations: 38.84 kB / 0.7345 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.5022, allocations: 78.77 kB / 0.7346 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01577/0.518, allocations: 5.287 MB / 0.7397 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000407/0.5184, allocations: 309.6 kB / 0.74 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.5185, allocations: 8.969 kB / 0.74 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.5188, allocations: 137.3 kB / 0.7402 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.5189, allocations: 91.16 kB / 0.7402 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.5189, allocations: 11.75 kB / 0.7403 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01835/0.5373, allocations: 10.86 MB / 0.7509 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.5374, allocations: 35.89 kB / 0.7509 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.5376, allocations: 75.67 kB / 0.751 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.5503, allocations: 6.195 MB / 0.757 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5503, allocations: 4 kB / 0.757 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5503, allocations: 3.938 kB / 0.757 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.5503, allocations: 0 / 0.757 GB, free: 13.43 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.002825/0.5532, allocations: 1.176 MB / 0.7582 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5532, allocations: 12.03 kB / 0.7582 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.5533, allocations: 50.73 kB / 0.7582 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5543, allocations: 84.66 kB / 0.7583 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.5546, allocations: 232.2 kB / 0.7585 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.5546, allocations: 23.88 kB / 0.7586 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.5546, allocations: 16 kB / 0.7586 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.5557, allocations: 452.5 kB / 0.759 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5557, allocations: 4 kB / 0.759 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.5558, allocations: 4 kB / 0.759 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5558, allocations: 4 kB / 0.759 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5569, allocations: 0.5932 MB / 0.7596 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.558, allocations: 0.8783 MB / 0.7605 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.5587, allocations: 251 kB / 0.7607 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.5589, allocations: 76.83 kB / 0.7608 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07757/0.6364, allocations: 35.05 MB / 0.795 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6365, allocations: 36.53 kB / 0.795 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 3.176e-06/0.6365, allocations: 0 / 0.795 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001892/0.6384, allocations: 419.3 kB / 0.7954 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.6385, allocations: 55.41 kB / 0.7955 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.6386, allocations: 143.8 kB / 0.7956 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.6387, allocations: 37.7 kB / 0.7957 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.6388, allocations: 104.4 kB / 0.7958 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.6388, allocations: 82.75 kB / 0.7958 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.639, allocations: 81.66 kB / 0.7959 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6391, allocations: 326.8 kB / 0.7962 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.6393, allocations: 79.95 kB / 0.7963 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.6395, allocations: 138.5 kB / 0.7964 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.64, allocations: 228.3 kB / 0.7967 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.64, allocations: 0 / 0.7967 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006968/0.6407, allocations: 301.2 kB / 0.7969 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6407, allocations: 4 kB / 0.7969 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6407, allocations: 4 kB / 0.7969 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6407, allocations: 0 / 0.7969 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.6411, allocations: 87.81 kB / 0.797 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.6411, allocations: 0 / 0.797 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.6412, allocations: 27.69 kB / 0.7971 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.6413, allocations: 19.98 kB / 0.7971 GB, free: 1.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.6414, allocations: 137.9 kB / 0.7972 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.6416, allocations: 11.91 kB / 0.7972 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.644, allocations: 2.35 MB / 0.7995 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.644, allocations: 11.98 kB / 0.7995 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.644, allocations: 5.25 kB / 0.7995 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6441, allocations: 3.938 kB / 0.7995 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.6472, allocations: 3.412 MB / 0.8029 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6472, allocations: 4 kB / 0.8029 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.6475, allocations: 59.88 kB / 0.8029 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6475, allocations: 0 / 0.8029 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6476, allocations: 11.94 kB / 0.8029 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.6476, allocations: 0 / 0.8029 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6476, allocations: 3.984 kB / 0.8029 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.6483, allocations: 0.5504 MB / 0.8035 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.6485, allocations: 136.6 kB / 0.8036 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.6485, allocations: 11.88 kB / 0.8036 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.6487, allocations: 23.89 kB / 0.8036 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.6488, allocations: 15.97 kB / 0.8037 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.6488, allocations: 16 kB / 0.8037 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.985e-05/0.6489, allocations: 109.6 kB / 0.8038 GB, free: 10 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6489, allocations: 0 / 0.8038 GB, free: 10 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004201/0.6531, allocations: 1.62 MB / 0.8054 GB, free: 8.383 MB / 0.6231 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.008073/0.6612, allocations: 2.882 MB / 0.8082 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006406/0.6619, allocations: 329.4 kB / 0.8085 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6619, allocations: 0 / 0.8085 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.6622, allocations: 241.5 kB / 0.8087 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.6627, allocations: 64.25 kB / 0.8088 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.6676, allocations: 3.149 MB / 0.8119 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6679, allocations: 0.7661 MB / 0.8126 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005383/0.6685, allocations: 413.2 kB / 0.813 GB, free: 416 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.6687, allocations: 95.39 kB / 0.8131 GB, free: 320 kB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.6687, allocations: 0 / 0.8131 GB, free: 320 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4289/1.098, allocations: 60.62 MB / 0.8723 GB, free: 186.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.098, allocations: 173 kB / 0.8725 GB, free: 186 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.87/6.968, allocations: 0 / 0.8725 GB, free: 186 MB / 0.67 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/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)