Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",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.8618/0.8618, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.001312/0.001312, allocations: 177 kB / 191.5 MB, free: 5.762 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.469/1.469, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.0009633/0.0009633, allocations: 87.62 kB / 0.5187 GB, free: 1.199 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002073, allocations: 283.1 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005225, allocations: 19.02 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6371/0.7905, allocations: 351.8 MB / 1.117 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.7908, allocations: 71.41 kB / 1.117 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04734/0.8381, allocations: 20.23 MB / 1.137 GB, free: 2.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8382, allocations: 0 / 1.137 GB, free: 2.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.8382, allocations: 4 kB / 1.137 GB, free: 2.066 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.0006806/0.8389, allocations: 483.9 kB / 1.138 GB, free: 1.555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.8389, allocations: 12.03 kB / 1.138 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.094e-05/0.839, allocations: 50.11 kB / 1.138 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.8392, allocations: 23.81 kB / 1.138 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.8394, allocations: 222.1 kB / 1.138 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.8394, allocations: 7.953 kB / 1.138 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.8394, allocations: 15.69 kB / 1.138 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.8398, allocations: 241.8 kB / 1.138 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8398, allocations: 0 / 1.138 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.8399, allocations: 11.75 kB / 1.138 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.8399, allocations: 11.94 kB / 1.138 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.8403, allocations: 424.4 kB / 1.139 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3135/1.154, allocations: 0.9865 MB / 1.14 GB, free: 253.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/1.154, allocations: 160.1 kB / 1.14 GB, free: 253.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.155, allocations: 1.84 MB / 1.142 GB, free: 251.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/1.155, allocations: 44.44 kB / 1.142 GB, free: 251.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/1.156, allocations: 1.422 kB / 1.142 GB, free: 251.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0003158/1.156, allocations: 149.8 kB / 1.142 GB, free: 251.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/1.156, allocations: 51.41 kB / 1.142 GB, free: 251.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/1.156, allocations: 150.4 kB / 1.142 GB, free: 251.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/1.156, allocations: 32.3 kB / 1.142 GB, free: 251 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/1.156, allocations: 141.5 kB / 1.142 GB, free: 250.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/1.156, allocations: 55.7 kB / 1.142 GB, free: 250.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/1.156, allocations: 3.625 kB / 1.142 GB, free: 250.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/1.156, allocations: 323.7 kB / 1.142 GB, free: 250.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/1.156, allocations: 33.19 kB / 1.142 GB, free: 250.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/1.156, allocations: 147.1 kB / 1.143 GB, free: 250.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/1.156, allocations: 53.48 kB / 1.143 GB, free: 250.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.156, allocations: 0 / 1.143 GB, free: 250.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002816/1.157, allocations: 218.1 kB / 1.143 GB, free: 250.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.157, allocations: 9.172 kB / 1.143 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.157, allocations: 5.375 kB / 1.143 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.157, allocations: 8.5 kB / 1.143 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/1.157, allocations: 62.89 kB / 1.143 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.157, allocations: 5.094 kB / 1.143 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/1.157, allocations: 27.33 kB / 1.143 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/1.157, allocations: 11.88 kB / 1.143 GB, free: 250.4 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 () * 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 8.717e-05/1.157, allocations: 133.5 kB / 1.143 GB, free: 250.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/1.157, allocations: 15.19 kB / 1.143 GB, free: 250.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/1.158, allocations: 171 kB / 1.143 GB, free: 250.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.158, allocations: 0 / 1.143 GB, free: 250.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.158, allocations: 2.938 kB / 1.143 GB, free: 250.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.158, allocations: 0 / 1.143 GB, free: 250.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/1.158, allocations: 217.2 kB / 1.143 GB, free: 250.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.158, allocations: 2.469 kB / 1.143 GB, free: 250.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/1.158, allocations: 30.14 kB / 1.144 GB, free: 250.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/1.158, allocations: 0 / 1.144 GB, free: 250.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/1.158, allocations: 9.875 kB / 1.144 GB, free: 250.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/1.158, allocations: 4.828 kB / 1.144 GB, free: 250.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.158, allocations: 0 / 1.144 GB, free: 250.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/1.158, allocations: 222 kB / 1.144 GB, free: 249.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/1.158, allocations: 114.6 kB / 1.144 GB, free: 249.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/1.158, allocations: 7.938 kB / 1.144 GB, free: 249.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.159, allocations: 17.2 kB / 1.144 GB, free: 249.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/1.159, allocations: 13.38 kB / 1.144 GB, free: 249.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.159, allocations: 14.08 kB / 1.144 GB, free: 249.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.234e-05/1.159, allocations: 125.3 kB / 1.144 GB, free: 249.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.159, allocations: 4.125 kB / 1.144 GB, free: 249.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004049/1.159, allocations: 84.33 kB / 1.144 GB, free: 249.7 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 () * 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.0005514/1.16, allocations: 0.8446 MB / 1.145 GB, free: 249.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001988/1.16, allocations: 120.4 kB / 1.145 GB, free: 249.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.16, allocations: 3.938 kB / 1.145 GB, free: 249.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/1.16, allocations: 45.8 kB / 1.145 GB, free: 249.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/1.16, allocations: 56.66 kB / 1.145 GB, free: 249.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.162, allocations: 3.274 MB / 1.148 GB, free: 246.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/1.162, allocations: 0.7157 MB / 1.149 GB, free: 245.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000175/1.162, allocations: 46.69 kB / 1.149 GB, free: 245.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/1.162, allocations: 48.81 kB / 1.149 GB, free: 245.5 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/1.162, allocations: 0 / 1.149 GB, free: 245.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/1.181, allocations: 5.134 MB / 1.154 GB, free: 245.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.181, allocations: 169 kB / 1.154 GB, free: 244.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.913, allocations: 4.5 kB / 1.154 GB, free: 244.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)