Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8326/0.8326, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 96.64 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.82e-05, allocations: 0 / 0.5536 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6171, allocations: 82.3 MB / 0.6339 GB, free: 40.69 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.704, allocations: 411.5 MB / 1.036 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.704, allocations: 83.5 kB / 1.036 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.873/2.577, allocations: 86.47 MB / 1.12 GB, free: 223 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.355e-06/2.578, allocations: 0 / 1.12 GB, free: 223 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.888e-06/2.578, allocations: 8 kB / 1.12 GB, free: 223 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003093/2.581, allocations: 0.7323 MB / 1.121 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/2.581, allocations: 8.031 kB / 1.121 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/2.581, allocations: 27.77 kB / 1.121 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/2.581, allocations: 214.7 kB / 1.121 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/2.581, allocations: 4 kB / 1.121 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/2.581, allocations: 8 kB / 1.121 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004226/2.582, allocations: 408.2 kB / 1.122 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/2.582, allocations: 227.7 kB / 1.122 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/2.582, allocations: 0 / 1.122 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/2.582, allocations: 0 / 1.122 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/2.582, allocations: 7.984 kB / 1.122 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/2.583, allocations: 0.9762 MB / 1.123 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/2.583, allocations: 136.3 kB / 1.123 GB, free: 220 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/2.583, allocations: 60.83 kB / 1.123 GB, free: 220 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/2.584, allocations: 1.946 MB / 1.125 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/2.584, allocations: 42.52 kB / 1.125 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/2.584, allocations: 0 / 1.125 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0004752/2.585, allocations: 137.3 kB / 1.125 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/2.585, allocations: 55.41 kB / 1.125 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/2.585, allocations: 129.9 kB / 1.125 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/2.585, allocations: 29.7 kB / 1.125 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/2.585, allocations: 151.7 kB / 1.125 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/2.585, allocations: 47.27 kB / 1.125 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/2.585, allocations: 4 kB / 1.125 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.742e-05/2.585, allocations: 322.8 kB / 1.126 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/2.585, allocations: 28 kB / 1.126 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/2.585, allocations: 135.5 kB / 1.126 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/2.586, allocations: 79.81 kB / 1.126 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/2.586, allocations: 0 / 1.126 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004121/2.586, allocations: 201.5 kB / 1.126 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/2.586, allocations: 4 kB / 1.126 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/2.586, allocations: 4 kB / 1.126 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/2.586, allocations: 11.95 kB / 1.126 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/2.586, allocations: 59.91 kB / 1.126 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/2.586, allocations: 7.938 kB / 1.126 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/2.586, allocations: 27.67 kB / 1.126 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/2.587, allocations: 12 kB / 1.126 GB, free: 216.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.184e-05/2.587, allocations: 117.1 kB / 1.126 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003439/2.587, allocations: 126.8 kB / 1.127 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/2.587, allocations: 23.77 kB / 1.127 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/2.587, allocations: 180.6 kB / 1.127 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/2.587, allocations: 0 / 1.127 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.587, allocations: 0 / 1.127 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/2.587, allocations: 3.938 kB / 1.127 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/2.588, allocations: 186 kB / 1.127 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/2.588, allocations: 4 kB / 1.127 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/2.588, allocations: 27.98 kB / 1.127 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/2.588, allocations: 4 kB / 1.127 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/2.588, allocations: 3.984 kB / 1.127 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/2.588, allocations: 3.953 kB / 1.127 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.588, allocations: 0 / 1.127 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/2.588, allocations: 231.2 kB / 1.127 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/2.588, allocations: 124.9 kB / 1.127 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/2.588, allocations: 7.938 kB / 1.127 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/2.589, allocations: 15.98 kB / 1.127 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/2.589, allocations: 11.94 kB / 1.127 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/2.589, allocations: 12 kB / 1.127 GB, free: 215 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.554e-05/2.589, allocations: 103.3 kB / 1.127 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/2.589, allocations: 4 kB / 1.127 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000441/2.589, allocations: 83.83 kB / 1.128 GB, free: 214.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0007539/2.59, allocations: 0.8946 MB / 1.128 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000178/2.59, allocations: 100.6 kB / 1.129 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.59, allocations: 0 / 1.129 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/2.59, allocations: 44.05 kB / 1.129 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/2.59, allocations: 35.92 kB / 1.129 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/2.591, allocations: 219.6 kB / 1.129 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/2.591, allocations: 0.7206 MB / 1.13 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001707/2.591, allocations: 41.66 kB / 1.13 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/2.592, allocations: 59.28 kB / 1.13 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/2.592, allocations: 0 / 1.13 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/2.618, allocations: 4.783 MB / 1.134 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/2.618, allocations: 138.3 kB / 1.134 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/4.529, allocations: 0 / 1.134 GB, free: 207.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)