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.815/0.815, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 183.8 kB / 187.3 MB, free: 11.89 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.591/1.591, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009426/0.0009424, allocations: 98.75 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001877/0.001877, allocations: 279 kB / 0.5939 GB, free: 7.926 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.746e-05/4.767e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4891, allocations: 82.77 MB / 0.7643 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8337/1.323, allocations: 351.7 MB / 1.108 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.323, allocations: 69.2 kB / 1.108 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04736/1.371, allocations: 20.18 MB / 1.128 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.335e-06/1.371, allocations: 0 / 1.128 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.371, allocations: 4 kB / 1.128 GB, free: 5.828 MB / 0.6511 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.000796/1.371, allocations: 475 kB / 1.128 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.372, allocations: 8.031 kB / 1.128 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.555e-05/1.372, allocations: 49.42 kB / 1.128 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/1.372, allocations: 23.8 kB / 1.128 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/1.372, allocations: 208.7 kB / 1.128 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/1.372, allocations: 27.38 kB / 1.128 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/1.372, allocations: 11.81 kB / 1.128 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/1.373, allocations: 240.3 kB / 1.129 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.373, allocations: 0 / 1.129 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/1.373, allocations: 7.625 kB / 1.129 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/1.373, allocations: 11.98 kB / 1.129 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/1.373, allocations: 423.4 kB / 1.129 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.374, allocations: 0.9872 MB / 1.13 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/1.375, allocations: 155.5 kB / 1.13 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/1.375, allocations: 58.03 kB / 1.13 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/1.377, allocations: 1.932 MB / 1.132 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.377, allocations: 38 kB / 1.132 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/1.377, allocations: 0 / 1.132 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003153/1.377, allocations: 120.7 kB / 1.132 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/1.377, allocations: 55.39 kB / 1.132 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.377, allocations: 158 kB / 1.132 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.377, allocations: 25.7 kB / 1.132 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/1.377, allocations: 147.2 kB / 1.133 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/1.377, allocations: 45.86 kB / 1.133 GB, free: 468 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/1.377, allocations: 3.312 kB / 1.133 GB, free: 468 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.377, allocations: 329.7 kB / 1.133 GB, free: 136 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/1.378, allocations: 39.11 kB / 1.133 GB, free: 104 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/1.378, allocations: 137.5 kB / 1.133 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/1.378, allocations: 61.97 kB / 1.133 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.378, allocations: 4 kB / 1.133 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003109/1.378, allocations: 208 kB / 1.133 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.378, allocations: 8 kB / 1.133 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.378, allocations: 4.469 kB / 1.133 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/1.378, allocations: 8 kB / 1.133 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/1.378, allocations: 59.66 kB / 1.133 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/1.378, allocations: 15.89 kB / 1.133 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.379, allocations: 27.5 kB / 1.134 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/1.379, allocations: 12 kB / 1.134 GB, free: 15.57 MB / 0.6667 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 9.632e-05/1.379, allocations: 120.5 kB / 1.134 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/1.379, allocations: 15.81 kB / 1.134 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/1.379, allocations: 156 kB / 1.134 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.379, allocations: 7.938 kB / 1.134 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.379, allocations: 0 / 1.134 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/1.379, allocations: 3.953 kB / 1.134 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/1.379, allocations: 218 kB / 1.134 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.379, allocations: 0 / 1.134 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.38, allocations: 35.92 kB / 1.134 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.38, allocations: 0 / 1.134 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.38, allocations: 4 kB / 1.134 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.38, allocations: 0 / 1.134 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.38, allocations: 4 kB / 1.134 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/1.38, allocations: 218.5 kB / 1.134 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.38, allocations: 116.2 kB / 1.134 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/1.38, allocations: 7.875 kB / 1.134 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/1.38, allocations: 23.78 kB / 1.134 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/1.38, allocations: 11.98 kB / 1.134 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/1.38, allocations: 8 kB / 1.134 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 9.258e-05/1.38, allocations: 120.5 kB / 1.135 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/1.38, allocations: 0 / 1.135 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004106/1.381, allocations: 90.14 kB / 1.135 GB, free: 14.44 MB / 0.6667 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.0008145/1.382, allocations: 0.8466 MB / 1.135 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002318/1.382, allocations: 109.6 kB / 1.136 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.382, allocations: 0 / 1.136 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/1.382, allocations: 50.11 kB / 1.136 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/1.382, allocations: 52.3 kB / 1.136 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/1.383, allocations: 239.6 kB / 1.136 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.383, allocations: 0.7208 MB / 1.137 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001699/1.384, allocations: 49.89 kB / 1.137 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/1.384, allocations: 47.22 kB / 1.137 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/1.384, allocations: 0 / 1.137 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/1.402, allocations: 5.158 MB / 1.142 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.403, allocations: 164.9 kB / 1.142 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/3.181, allocations: 8.062 kB / 1.142 GB, free: 7.141 MB / 0.6667 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)