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.001142/0.001142, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7317/0.7317, allocations: 133.4 MB / 146.7 MB, free: 10.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009859, allocations: 97.88 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.332e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2017, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.687/1.889, allocations: 412.2 MB / 1.043 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/1.889, allocations: 84.39 kB / 1.043 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2309/2.12, allocations: 87.42 MB / 1.128 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.628e-06/2.121, allocations: 0 / 1.128 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.217e-05/2.121, allocations: 4 kB / 1.128 GB, free: 103.5 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.004212/2.125, allocations: 0.7303 MB / 1.129 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/2.125, allocations: 12.03 kB / 1.129 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.704e-05/2.125, allocations: 49.67 kB / 1.129 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/2.125, allocations: 27.7 kB / 1.129 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/2.126, allocations: 213.2 kB / 1.129 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/2.126, allocations: 12 kB / 1.129 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/2.126, allocations: 27.12 kB / 1.129 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/2.126, allocations: 228.5 kB / 1.13 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/2.126, allocations: 0 / 1.13 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/2.126, allocations: 11.5 kB / 1.13 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/2.126, allocations: 7.984 kB / 1.13 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/2.127, allocations: 424.1 kB / 1.13 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/2.128, allocations: 1.024 MB / 1.131 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/2.128, allocations: 164.9 kB / 1.131 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.409e-05/2.128, allocations: 60.08 kB / 1.131 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/2.13, allocations: 1.956 MB / 1.133 GB, free: 98.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/2.13, allocations: 38.12 kB / 1.133 GB, free: 98.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.255e-06/2.13, allocations: 0 / 1.133 GB, free: 98.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003265/2.13, allocations: 121.6 kB / 1.133 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/2.13, allocations: 55.41 kB / 1.133 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/2.13, allocations: 154.5 kB / 1.134 GB, free: 98.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/2.13, allocations: 25.7 kB / 1.134 GB, free: 98.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/2.13, allocations: 139.1 kB / 1.134 GB, free: 97.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/2.13, allocations: 54.33 kB / 1.134 GB, free: 97.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/2.131, allocations: 3.938 kB / 1.134 GB, free: 97.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/2.131, allocations: 330.2 kB / 1.134 GB, free: 97.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/2.131, allocations: 31.75 kB / 1.134 GB, free: 97.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.261e-05/2.131, allocations: 136 kB / 1.134 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/2.131, allocations: 55.81 kB / 1.134 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/2.131, allocations: 4 kB / 1.134 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003134/2.131, allocations: 212.6 kB / 1.135 GB, free: 97.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/2.131, allocations: 13.05 kB / 1.135 GB, free: 97.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/2.131, allocations: 4.469 kB / 1.135 GB, free: 97.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/2.131, allocations: 8 kB / 1.135 GB, free: 97.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/2.131, allocations: 59.84 kB / 1.135 GB, free: 97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/2.131, allocations: 8 kB / 1.135 GB, free: 96.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/2.132, allocations: 27.19 kB / 1.135 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/2.132, allocations: 12 kB / 1.135 GB, free: 96.96 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 8.114e-05/2.132, allocations: 124.4 kB / 1.135 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/2.132, allocations: 19.83 kB / 1.135 GB, free: 96.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/2.132, allocations: 164.6 kB / 1.135 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/2.132, allocations: 4 kB / 1.135 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/2.132, allocations: 0 / 1.135 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/2.132, allocations: 0 / 1.135 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/2.132, allocations: 223.2 kB / 1.135 GB, free: 96.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/2.132, allocations: 0 / 1.135 GB, free: 96.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/2.133, allocations: 31.8 kB / 1.135 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/2.133, allocations: 0 / 1.135 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/2.133, allocations: 0 / 1.135 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/2.133, allocations: 7.953 kB / 1.135 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/2.133, allocations: 7.938 kB / 1.135 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/2.133, allocations: 208.7 kB / 1.135 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/2.133, allocations: 128.2 kB / 1.136 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/2.133, allocations: 0 / 1.136 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/2.133, allocations: 19.17 kB / 1.136 GB, free: 96.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/2.133, allocations: 15.94 kB / 1.136 GB, free: 96.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/2.133, allocations: 15.42 kB / 1.136 GB, free: 96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.645e-05/2.133, allocations: 123.8 kB / 1.136 GB, free: 95.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/2.133, allocations: 0 / 1.136 GB, free: 95.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005232/2.134, allocations: 86.61 kB / 1.136 GB, free: 95.82 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.0007692/2.135, allocations: 0.8815 MB / 1.137 GB, free: 94.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002315/2.135, allocations: 110.9 kB / 1.137 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.135, allocations: 0 / 1.137 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.742e-05/2.135, allocations: 47.23 kB / 1.137 GB, free: 94.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/2.135, allocations: 50.97 kB / 1.137 GB, free: 94.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/2.136, allocations: 245.5 kB / 1.137 GB, free: 94.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/2.136, allocations: 0.717 MB / 1.138 GB, free: 93.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002119/2.137, allocations: 53.86 kB / 1.138 GB, free: 93.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/2.137, allocations: 44.8 kB / 1.138 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/2.137, allocations: 4 kB / 1.138 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/2.16, allocations: 6.228 MB / 1.144 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/2.16, allocations: 157 kB / 1.144 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/4.073, allocations: 0 / 1.144 GB, free: 87.38 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)