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.01106/0.01106, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8195/0.8195, allocations: 135.2 MB / 151 MB, free: 13.83 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.667/1.667, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.00144/0.00144, allocations: 99.42 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4838, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.602/2.085, allocations: 412.2 MB / 1.052 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/2.086, allocations: 87.48 kB / 1.052 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2434/2.329, allocations: 87.54 MB / 1.138 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.013e-06/2.329, allocations: 0 / 1.138 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.287e-06/2.329, allocations: 4 kB / 1.138 GB, free: 186.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.002974/2.332, allocations: 0.7525 MB / 1.138 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/2.332, allocations: 12.03 kB / 1.138 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/2.332, allocations: 54.55 kB / 1.138 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/2.333, allocations: 23.77 kB / 1.138 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/2.333, allocations: 210.9 kB / 1.139 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/2.333, allocations: 12.33 kB / 1.139 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/2.333, allocations: 16 kB / 1.139 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/2.333, allocations: 244.1 kB / 1.139 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/2.333, allocations: 0 / 1.139 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/2.333, allocations: 8 kB / 1.139 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/2.333, allocations: 7.984 kB / 1.139 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/2.334, allocations: 423.5 kB / 1.139 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/2.335, allocations: 1.027 MB / 1.14 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/2.335, allocations: 155.6 kB / 1.141 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/2.336, allocations: 1.86 MB / 1.142 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/2.336, allocations: 34.56 kB / 1.142 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/2.336, allocations: 0 / 1.142 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003568/2.336, allocations: 146.6 kB / 1.142 GB, free: 181 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/2.336, allocations: 51.41 kB / 1.143 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/2.337, allocations: 158.3 kB / 1.143 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/2.337, allocations: 33.7 kB / 1.143 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/2.337, allocations: 147.8 kB / 1.143 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/2.337, allocations: 43.36 kB / 1.143 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/2.337, allocations: 8 kB / 1.143 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/2.337, allocations: 326.8 kB / 1.143 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/2.337, allocations: 35.97 kB / 1.143 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/2.337, allocations: 133.7 kB / 1.143 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.402e-05/2.337, allocations: 66.11 kB / 1.143 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/2.337, allocations: 0 / 1.143 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002732/2.337, allocations: 213.1 kB / 1.144 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/2.337, allocations: 11.95 kB / 1.144 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/2.337, allocations: 4 kB / 1.144 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/2.337, allocations: 4 kB / 1.144 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/2.338, allocations: 63.84 kB / 1.144 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/2.338, allocations: 8.469 kB / 1.144 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/2.338, allocations: 27.69 kB / 1.144 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/2.338, allocations: 20 kB / 1.144 GB, free: 179.5 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 () * Number of clocked 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 0.0001042/2.338, allocations: 135.9 kB / 1.144 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/2.338, allocations: 19.75 kB / 1.144 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/2.338, allocations: 168.7 kB / 1.144 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/2.338, allocations: 0 / 1.144 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/2.338, allocations: 0 / 1.144 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/2.338, allocations: 0 / 1.144 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/2.338, allocations: 217.6 kB / 1.144 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/2.338, allocations: 0 / 1.144 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/2.339, allocations: 27.98 kB / 1.144 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/2.339, allocations: 4 kB / 1.144 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/2.339, allocations: 4 kB / 1.144 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/2.339, allocations: 3.953 kB / 1.144 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.339, allocations: 3.984 kB / 1.144 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/2.339, allocations: 215.8 kB / 1.145 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/2.339, allocations: 128.9 kB / 1.145 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/2.339, allocations: 0 / 1.145 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/2.339, allocations: 19.98 kB / 1.145 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/2.339, allocations: 15.94 kB / 1.145 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/2.339, allocations: 11.98 kB / 1.145 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.193e-05/2.339, allocations: 116 kB / 1.145 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/2.339, allocations: 0 / 1.145 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004707/2.34, allocations: 95.91 kB / 1.145 GB, free: 178.3 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 () * Number of clocked 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.0007184/2.341, allocations: 0.8834 MB / 1.146 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002174/2.341, allocations: 116.3 kB / 1.146 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.341, allocations: 4 kB / 1.146 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/2.341, allocations: 51.84 kB / 1.146 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/2.341, allocations: 48.94 kB / 1.146 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/2.343, allocations: 3.273 MB / 1.149 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/2.343, allocations: 0.7211 MB / 1.15 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001877/2.343, allocations: 53.72 kB / 1.15 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/2.343, allocations: 43.42 kB / 1.15 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/2.343, allocations: 0 / 1.15 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/2.365, allocations: 6.075 MB / 1.156 GB, free: 167 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/2.365, allocations: 176.8 kB / 1.156 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/4.539, allocations: 0 / 1.156 GB, free: 166.8 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)