Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",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.9737/0.9737, allocations: 141.8 MB / 149.3 MB, free: 9.188 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.001172/0.001172, allocations: 180.6 kB / 182.2 MB, free: 9.422 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.582/1.582, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.00104/0.00104, allocations: 109.5 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00271/0.00271, allocations: 285.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.822e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5285, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9679/1.496, allocations: 408.8 MB / 1.157 GB, free: 4.906 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.497, allocations: 80.45 kB / 1.157 GB, free: 4.863 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7199/2.217, allocations: 86.48 MB / 1.241 GB, free: 212.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/2.217, allocations: 0 / 1.241 GB, free: 212.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.396e-06/2.217, allocations: 4 kB / 1.241 GB, free: 212.1 MB / 0.698 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.003147/2.22, allocations: 0.7362 MB / 1.242 GB, free: 211.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/2.22, allocations: 8.031 kB / 1.242 GB, free: 211.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/2.22, allocations: 27.81 kB / 1.242 GB, free: 211.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/2.22, allocations: 214.8 kB / 1.242 GB, free: 211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/2.22, allocations: 4 kB / 1.242 GB, free: 211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/2.22, allocations: 12 kB / 1.242 GB, free: 211 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003974/2.221, allocations: 408.2 kB / 1.243 GB, free: 210.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/2.221, allocations: 219.7 kB / 1.243 GB, free: 210.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/2.221, allocations: 0 / 1.243 GB, free: 210.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/2.221, allocations: 4 kB / 1.243 GB, free: 210.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/2.221, allocations: 7.984 kB / 1.243 GB, free: 210.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009271/2.222, allocations: 0.9758 MB / 1.244 GB, free: 209.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/2.222, allocations: 144.3 kB / 1.244 GB, free: 209.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/2.222, allocations: 48.86 kB / 1.244 GB, free: 209.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/2.223, allocations: 1.964 MB / 1.246 GB, free: 206.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/2.224, allocations: 38.5 kB / 1.246 GB, free: 206.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/2.224, allocations: 4 kB / 1.246 GB, free: 206.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0004526/2.224, allocations: 125.4 kB / 1.246 GB, free: 206.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/2.224, allocations: 59.41 kB / 1.246 GB, free: 206.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/2.224, allocations: 140.2 kB / 1.246 GB, free: 206.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/2.224, allocations: 29.64 kB / 1.246 GB, free: 206.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/2.224, allocations: 139.8 kB / 1.246 GB, free: 206.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/2.224, allocations: 55.28 kB / 1.246 GB, free: 206.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/2.224, allocations: 3.938 kB / 1.246 GB, free: 206.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.418e-05/2.224, allocations: 318.8 kB / 1.247 GB, free: 205.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/2.224, allocations: 28 kB / 1.247 GB, free: 205.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/2.224, allocations: 130.2 kB / 1.247 GB, free: 205.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/2.225, allocations: 77.84 kB / 1.247 GB, free: 205.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.225, allocations: 4 kB / 1.247 GB, free: 205.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004095/2.225, allocations: 209.1 kB / 1.247 GB, free: 205.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/2.225, allocations: 8 kB / 1.247 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.225, allocations: 480 / 1.247 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/2.225, allocations: 12 kB / 1.247 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/2.225, allocations: 59.91 kB / 1.247 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/2.225, allocations: 4 kB / 1.247 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-05/2.226, allocations: 27.64 kB / 1.247 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/2.226, allocations: 12 kB / 1.247 GB, free: 205.2 MB / 0.698 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 6.762e-05/2.226, allocations: 112.9 kB / 1.247 GB, free: 205.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003405/2.226, allocations: 133.4 kB / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/2.226, allocations: 15.81 kB / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/2.226, allocations: 171.2 kB / 1.248 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/2.226, allocations: 7.953 kB / 1.248 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/2.227, allocations: 4 kB / 1.248 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/2.227, allocations: 0 / 1.248 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/2.227, allocations: 186 kB / 1.248 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/2.227, allocations: 0 / 1.248 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/2.227, allocations: 31.92 kB / 1.248 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/2.227, allocations: 0 / 1.248 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/2.227, allocations: 4 kB / 1.248 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/2.227, allocations: 4 kB / 1.248 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.227, allocations: 4 kB / 1.248 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/2.227, allocations: 224.2 kB / 1.248 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/2.227, allocations: 128.8 kB / 1.248 GB, free: 204.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/2.227, allocations: 0 / 1.248 GB, free: 204.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/2.228, allocations: 15.98 kB / 1.248 GB, free: 204.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/2.228, allocations: 11.98 kB / 1.248 GB, free: 204.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/2.228, allocations: 15.98 kB / 1.248 GB, free: 204.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.189e-05/2.228, allocations: 104.3 kB / 1.248 GB, free: 204 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.124e-06/2.228, allocations: 0 / 1.248 GB, free: 204 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000463/2.228, allocations: 87.77 kB / 1.248 GB, free: 203.9 MB / 0.698 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.0007971/2.229, allocations: 0.907 MB / 1.249 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001797/2.229, allocations: 99.78 kB / 1.249 GB, free: 202.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/2.229, allocations: 4 kB / 1.249 GB, free: 202.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/2.229, allocations: 31.94 kB / 1.25 GB, free: 202.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/2.23, allocations: 37.52 kB / 1.25 GB, free: 202.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/2.23, allocations: 223.5 kB / 1.25 GB, free: 202.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/2.23, allocations: 0.7167 MB / 1.25 GB, free: 201.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001755/2.231, allocations: 53.62 kB / 1.251 GB, free: 201.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/2.231, allocations: 47.42 kB / 1.251 GB, free: 201.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/2.231, allocations: 0 / 1.251 GB, free: 201.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06192/2.293, allocations: 4.81 MB / 1.255 GB, free: 196.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/2.293, allocations: 164.1 kB / 1.255 GB, free: 196.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/4.197, allocations: 32 / 1.255 GB, free: 196.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)