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.001122/0.001127, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001218, allocations: 192.7 kB / 16.53 MB, free: 6.668 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7731/0.7731, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 61.92 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3621, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1477/0.5099, allocations: 136.1 MB / 0.7131 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02531/0.5352, allocations: 22.33 MB / 0.7349 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.5354, allocations: 0 / 0.7349 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.5357, allocations: 51.67 kB / 0.735 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.5361, allocations: 95.41 kB / 0.7351 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01675/0.5528, allocations: 6.676 MB / 0.7416 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.5532, allocations: 247.9 kB / 0.7418 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.5533, allocations: 21.53 kB / 0.7419 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.5537, allocations: 139.4 kB / 0.742 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.5539, allocations: 91.59 kB / 0.7421 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.5539, allocations: 8 kB / 0.7421 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01827/0.5722, allocations: 10.67 MB / 0.7525 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.5723, allocations: 43.88 kB / 0.7525 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.5725, allocations: 79.66 kB / 0.7526 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.5848, allocations: 6.164 MB / 0.7586 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5848, allocations: 4 kB / 0.7586 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5848, allocations: 0 / 0.7586 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.5849, allocations: 0 / 0.7586 GB, free: 10.2 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.00301/0.5879, allocations: 1.193 MB / 0.7598 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5879, allocations: 8.031 kB / 0.7598 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.588, allocations: 50.73 kB / 0.7599 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.5891, allocations: 80.77 kB / 0.7599 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.5894, allocations: 236 kB / 0.7602 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5894, allocations: 19.94 kB / 0.7602 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5894, allocations: 12 kB / 0.7602 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.5905, allocations: 448.5 kB / 0.7606 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5906, allocations: 0 / 0.7606 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.5906, allocations: 11.94 kB / 0.7606 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5906, allocations: 4 kB / 0.7606 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.5918, allocations: 0.5969 MB / 0.7612 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.5929, allocations: 0.8745 MB / 0.7621 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.5937, allocations: 257.7 kB / 0.7623 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.5938, allocations: 80.83 kB / 0.7624 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08773/0.6816, allocations: 35.05 MB / 0.7966 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.6817, allocations: 38.56 kB / 0.7967 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.6817, allocations: 0 / 0.7967 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001798/0.6835, allocations: 418.9 kB / 0.7971 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.6835, allocations: 51.41 kB / 0.7971 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.6837, allocations: 151.7 kB / 0.7973 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.6837, allocations: 33.7 kB / 0.7973 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.6838, allocations: 108.4 kB / 0.7974 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.6839, allocations: 90.73 kB / 0.7975 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.684, allocations: 77.56 kB / 0.7976 GB, free: 15 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.6841, allocations: 326.8 kB / 0.7979 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.6843, allocations: 79.95 kB / 0.7979 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.6846, allocations: 133.6 kB / 0.7981 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.685, allocations: 220.2 kB / 0.7983 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.685, allocations: 0 / 0.7983 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006882/0.6857, allocations: 301.2 kB / 0.7986 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6857, allocations: 7.984 kB / 0.7986 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6857, allocations: 0 / 0.7986 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6858, allocations: 4 kB / 0.7986 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.6861, allocations: 75.94 kB / 0.7986 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.6861, allocations: 7.938 kB / 0.7987 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.6862, allocations: 23.69 kB / 0.7987 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.6863, allocations: 27.98 kB / 0.7987 GB, free: 13.77 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.0001362/0.6864, allocations: 129.9 kB / 0.7988 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.6866, allocations: 19.8 kB / 0.7988 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.6889, allocations: 2.338 MB / 0.8011 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.6889, allocations: 11.98 kB / 0.8011 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6889, allocations: 3.984 kB / 0.8011 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.6889, allocations: 3.938 kB / 0.8012 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.6919, allocations: 3.427 MB / 0.8045 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6919, allocations: 4 kB / 0.8045 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.6922, allocations: 59.89 kB / 0.8046 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6922, allocations: 7.938 kB / 0.8046 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.6922, allocations: 7.984 kB / 0.8046 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6923, allocations: 4 kB / 0.8046 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6923, allocations: 0 / 0.8046 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.693, allocations: 0.5379 MB / 0.8051 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6932, allocations: 140.5 kB / 0.8052 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.6932, allocations: 11.94 kB / 0.8052 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.6934, allocations: 15.98 kB / 0.8053 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.6935, allocations: 19.98 kB / 0.8053 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.6935, allocations: 15.98 kB / 0.8053 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.732e-05/0.6936, allocations: 109.2 kB / 0.8054 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6936, allocations: 0 / 0.8054 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004222/0.6978, allocations: 1.624 MB / 0.807 GB, free: 5.133 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.008673/0.7065, allocations: 2.883 MB / 0.8098 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007921/0.7073, allocations: 337.4 kB / 0.8101 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7073, allocations: 0 / 0.8101 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.7077, allocations: 236.5 kB / 0.8104 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.7083, allocations: 76.11 kB / 0.8104 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2484/0.9566, allocations: 3.038 MB / 0.8134 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.9569, allocations: 0.7663 MB / 0.8141 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007007/0.9576, allocations: 401.2 kB / 0.8145 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.9578, allocations: 98.75 kB / 0.8146 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.603e-06/0.9578, allocations: 0 / 0.8146 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.332/2.289, allocations: 60.91 MB / 0.8741 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/16.72, allocations: 12.7 kB / 0.8741 GB, free: 171.3 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/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)