Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_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.001635/0.001635, 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.8257/0.8257, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.703/1.703, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001307/0.001307, allocations: 96.03 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.309e-05, allocations: 0 / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5547, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.652, allocations: 411.5 MB / 1.036 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/1.653, allocations: 88.56 kB / 1.036 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.7873/2.44, allocations: 86.46 MB / 1.12 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/2.44, allocations: 4 kB / 1.12 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.568e-06/2.44, allocations: 0 / 1.12 GB, free: 222.8 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.003318/2.444, allocations: 0.7399 MB / 1.121 GB, free: 222 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/2.444, allocations: 8.031 kB / 1.121 GB, free: 222 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/2.444, allocations: 23.77 kB / 1.121 GB, free: 222 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/2.444, allocations: 214.9 kB / 1.121 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/2.444, allocations: 7.938 kB / 1.121 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/2.444, allocations: 12 kB / 1.121 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004603/2.445, allocations: 412.2 kB / 1.122 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/2.445, allocations: 215.7 kB / 1.122 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/2.445, allocations: 0 / 1.122 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/2.445, allocations: 4 kB / 1.122 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/2.445, allocations: 4 kB / 1.122 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/2.446, allocations: 0.9762 MB / 1.123 GB, free: 220 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/2.446, allocations: 148.2 kB / 1.123 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/2.447, allocations: 46.83 kB / 1.123 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/2.448, allocations: 1.95 MB / 1.125 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/2.448, allocations: 42.52 kB / 1.125 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/2.448, allocations: 0 / 1.125 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005081/2.448, allocations: 135 kB / 1.125 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/2.448, allocations: 51.41 kB / 1.125 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/2.448, allocations: 133.9 kB / 1.125 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/2.448, allocations: 29.7 kB / 1.125 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/2.448, allocations: 147.8 kB / 1.125 GB, free: 217 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/2.449, allocations: 51.25 kB / 1.125 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/2.449, allocations: 0 / 1.125 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/2.449, allocations: 330.8 kB / 1.126 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/2.449, allocations: 24 kB / 1.126 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/2.449, allocations: 137.7 kB / 1.126 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/2.449, allocations: 75.88 kB / 1.126 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.449, allocations: 0 / 1.126 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005355/2.45, allocations: 206.6 kB / 1.126 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/2.45, allocations: 8 kB / 1.126 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/2.45, allocations: 4 kB / 1.126 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/2.45, allocations: 7.953 kB / 1.126 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/2.45, allocations: 63.89 kB / 1.126 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/2.45, allocations: 4.469 kB / 1.126 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/2.45, allocations: 31.69 kB / 1.126 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/2.45, allocations: 12 kB / 1.126 GB, free: 216 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 9.19e-05/2.45, allocations: 104.9 kB / 1.126 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003981/2.451, allocations: 137.4 kB / 1.127 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/2.451, allocations: 19.77 kB / 1.127 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/2.451, allocations: 176.3 kB / 1.127 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/2.451, allocations: 4 kB / 1.127 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/2.451, allocations: 4 kB / 1.127 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/2.451, allocations: 0 / 1.127 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/2.451, allocations: 189.9 kB / 1.127 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/2.451, allocations: 0 / 1.127 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/2.451, allocations: 31.92 kB / 1.127 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/2.451, allocations: 0 / 1.127 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/2.452, allocations: 4 kB / 1.127 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/2.452, allocations: 3.953 kB / 1.127 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/2.452, allocations: 0 / 1.127 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/2.452, allocations: 237.8 kB / 1.127 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/2.452, allocations: 120.9 kB / 1.127 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/2.452, allocations: 0 / 1.127 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/2.452, allocations: 15.98 kB / 1.127 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/2.452, allocations: 15.94 kB / 1.127 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/2.452, allocations: 11.92 kB / 1.127 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.403e-05/2.452, allocations: 115.3 kB / 1.127 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.452, allocations: 0 / 1.127 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004458/2.453, allocations: 79.84 kB / 1.128 GB, free: 214.6 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.0008175/2.454, allocations: 0.888 MB / 1.128 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001859/2.454, allocations: 107.8 kB / 1.129 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.454, allocations: 0 / 1.129 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/2.454, allocations: 35.94 kB / 1.129 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/2.454, allocations: 34.31 kB / 1.129 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/2.455, allocations: 236.4 kB / 1.129 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/2.455, allocations: 0.7167 MB / 1.13 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001947/2.455, allocations: 49.64 kB / 1.13 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/2.455, allocations: 43.42 kB / 1.13 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/2.455, allocations: 0 / 1.13 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/2.487, allocations: 4.784 MB / 1.134 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/2.487, allocations: 132 kB / 1.134 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/4.272, allocations: 0 / 1.134 GB, free: 207.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)