Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8491/0.8491, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 179.4 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 447.7 MB, free: 4.844 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.000916/0.000916, allocations: 96.25 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001678, allocations: 271.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 13.47 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.419, allocations: 397.9 MB / 1.162 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.42, allocations: 68.75 kB / 1.162 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05911/1.479, allocations: 25.99 MB / 1.188 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/1.479, allocations: 3.938 kB / 1.188 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.787e-05/1.479, allocations: 3.906 kB / 1.188 GB, free: 201.9 MB / 0.7136 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.0007605/1.48, allocations: 0.4952 MB / 1.188 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.48, allocations: 11.75 kB / 1.188 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/1.48, allocations: 53.47 kB / 1.188 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/1.48, allocations: 22.77 kB / 1.188 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/1.48, allocations: 211.7 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.48, allocations: 24.02 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/1.48, allocations: 11.81 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/1.481, allocations: 239.1 kB / 1.189 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.481, allocations: 0 / 1.189 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/1.481, allocations: 11.2 kB / 1.189 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/1.481, allocations: 3.906 kB / 1.189 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/1.481, allocations: 434.3 kB / 1.189 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/1.482, allocations: 1.029 MB / 1.19 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/1.482, allocations: 161.2 kB / 1.19 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009436/1.483, allocations: 1.834 MB / 1.192 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/1.483, allocations: 34.56 kB / 1.192 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/1.483, allocations: 3.906 kB / 1.192 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002746/1.483, allocations: 147.7 kB / 1.192 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/1.483, allocations: 55.36 kB / 1.192 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/1.484, allocations: 154.5 kB / 1.193 GB, free: 198 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.484, allocations: 29.64 kB / 1.193 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/1.484, allocations: 134.2 kB / 1.193 GB, free: 197.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/1.484, allocations: 61.64 kB / 1.193 GB, free: 197.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/1.484, allocations: 7.938 kB / 1.193 GB, free: 197.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/1.484, allocations: 326.3 kB / 1.193 GB, free: 197.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/1.484, allocations: 30.28 kB / 1.193 GB, free: 197.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/1.484, allocations: 140.7 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.131e-05/1.484, allocations: 62.08 kB / 1.193 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.484, allocations: 0 / 1.193 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002499/1.484, allocations: 213.6 kB / 1.194 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.484, allocations: 7.812 kB / 1.194 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.484, allocations: 3.906 kB / 1.194 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.484, allocations: 3.906 kB / 1.194 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/1.484, allocations: 57.56 kB / 1.194 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.484, allocations: 7.266 kB / 1.194 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/1.485, allocations: 35.11 kB / 1.194 GB, free: 197.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/1.485, allocations: 19.33 kB / 1.194 GB, free: 197.2 MB / 0.7136 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 7.636e-05/1.485, allocations: 133.5 kB / 1.194 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/1.485, allocations: 22.94 kB / 1.194 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/1.485, allocations: 162.7 kB / 1.194 GB, free: 197 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.485, allocations: 7.422 kB / 1.194 GB, free: 197 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.485, allocations: 0 / 1.194 GB, free: 197 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.485, allocations: 0 / 1.194 GB, free: 197 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/1.485, allocations: 217.2 kB / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.485, allocations: 0 / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/1.485, allocations: 34.27 kB / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.485, allocations: 3.906 kB / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/1.485, allocations: 3.938 kB / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.485, allocations: 0 / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.485, allocations: 3.938 kB / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/1.486, allocations: 223.4 kB / 1.194 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/1.486, allocations: 109 kB / 1.195 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/1.486, allocations: 5.719 kB / 1.195 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/1.486, allocations: 19.47 kB / 1.195 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/1.486, allocations: 10.62 kB / 1.195 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/1.486, allocations: 9.906 kB / 1.195 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.393e-05/1.486, allocations: 121 kB / 1.195 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.486, allocations: 0 / 1.195 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000425/1.486, allocations: 86.61 kB / 1.195 GB, free: 196.5 MB / 0.7136 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.0006201/1.487, allocations: 0.8748 MB / 1.196 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002163/1.487, allocations: 118.4 kB / 1.196 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.487, allocations: 0 / 1.196 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/1.487, allocations: 49.95 kB / 1.196 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/1.488, allocations: 43.81 kB / 1.196 GB, free: 195.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/1.489, allocations: 3.276 MB / 1.199 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/1.49, allocations: 0.7227 MB / 1.2 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001854/1.49, allocations: 52.25 kB / 1.2 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/1.49, allocations: 45.91 kB / 1.2 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/1.49, allocations: 0 / 1.2 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/1.505, allocations: 5.365 MB / 1.205 GB, free: 191.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.506, allocations: 197.9 kB / 1.205 GB, free: 191.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/3.24, allocations: 0 / 1.205 GB, free: 191.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)