Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7322/0.7322, allocations: 128.7 MB / 143.7 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.4 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 82.44 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003677, allocations: 8.906 kB / 0.5604 GB, free: 97.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7328/0.8844, allocations: 323.5 MB / 0.9513 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.8848, allocations: 80.98 kB / 0.9514 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.5314/1.416, allocations: 100.6 MB / 1.05 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.178e-06/1.416, allocations: 0 / 1.05 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.089e-05/1.416, allocations: 4 kB / 1.05 GB, free: 212.1 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009298/1.417, allocations: 0.5562 MB / 1.05 GB, free: 211.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.417, allocations: 8.031 kB / 1.05 GB, free: 211.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/1.417, allocations: 62.52 kB / 1.05 GB, free: 211.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/1.418, allocations: 47.56 kB / 1.05 GB, free: 211.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/1.418, allocations: 250.6 kB / 1.051 GB, free: 211.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.418, allocations: 22.98 kB / 1.051 GB, free: 211.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/1.418, allocations: 24 kB / 1.051 GB, free: 211.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/1.418, allocations: 297.7 kB / 1.051 GB, free: 210.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.419, allocations: 7.844 kB / 1.051 GB, free: 210.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/1.419, allocations: 18.88 kB / 1.051 GB, free: 210.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/1.419, allocations: 15.98 kB / 1.051 GB, free: 210.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/1.419, allocations: 165.5 kB / 1.051 GB, free: 210.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/1.42, allocations: 1.839 MB / 1.053 GB, free: 208.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/1.421, allocations: 106.6 kB / 1.053 GB, free: 208.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.421, allocations: 9.891 kB / 1.053 GB, free: 208.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.421, allocations: 34.56 kB / 1.053 GB, free: 208.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/1.421, allocations: 0 / 1.053 GB, free: 208.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.001136/1.422, allocations: 0.6438 MB / 1.054 GB, free: 207.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/1.422, allocations: 55.41 kB / 1.054 GB, free: 207.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/1.422, allocations: 237.8 kB / 1.054 GB, free: 207.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/1.422, allocations: 29.7 kB / 1.054 GB, free: 207.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/1.422, allocations: 199.2 kB / 1.054 GB, free: 207.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.422, allocations: 59.11 kB / 1.054 GB, free: 207.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/1.422, allocations: 8 kB / 1.054 GB, free: 207.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/1.422, allocations: 338.8 kB / 1.054 GB, free: 206.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/1.422, allocations: 55.97 kB / 1.055 GB, free: 206.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/1.423, allocations: 157.7 kB / 1.055 GB, free: 206.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/1.423, allocations: 84.92 kB / 1.055 GB, free: 206.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.423, allocations: 0 / 1.055 GB, free: 206.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003302/1.423, allocations: 282.7 kB / 1.055 GB, free: 206.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.423, allocations: 11.98 kB / 1.055 GB, free: 206.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.423, allocations: 7.953 kB / 1.055 GB, free: 206.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.373e-05/1.423, allocations: 25.23 kB / 1.055 GB, free: 206.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/1.423, allocations: 67.91 kB / 1.055 GB, free: 206 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00079/1.424, allocations: 1.292 MB / 1.056 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/1.424, allocations: 20 kB / 1.056 GB, free: 204.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/1.424, allocations: 12 kB / 1.056 GB, free: 204.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.425, allocations: 153.8 kB / 1.057 GB, free: 204.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/1.425, allocations: 23.72 kB / 1.057 GB, free: 204.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/1.425, allocations: 34.12 kB / 1.057 GB, free: 204.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.425, allocations: 4.062 kB / 1.057 GB, free: 204.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/1.425, allocations: 0 / 1.057 GB, free: 204.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002644/1.425, allocations: 457.5 kB / 1.057 GB, free: 203.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/1.426, allocations: 0.5801 MB / 1.058 GB, free: 203.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.426, allocations: 160 / 1.058 GB, free: 203.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/1.426, allocations: 43.92 kB / 1.058 GB, free: 203.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.426, allocations: 0 / 1.058 GB, free: 203.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.426, allocations: 4 kB / 1.058 GB, free: 203.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.426, allocations: 4 kB / 1.058 GB, free: 203.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.426, allocations: 0 / 1.058 GB, free: 203.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/1.426, allocations: 392 kB / 1.058 GB, free: 202.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/1.426, allocations: 100.8 kB / 1.058 GB, free: 202.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/1.426, allocations: 8.062 kB / 1.058 GB, free: 202.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/1.426, allocations: 11.98 kB / 1.058 GB, free: 202.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/1.426, allocations: 15.98 kB / 1.058 GB, free: 202.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.426, allocations: 7.984 kB / 1.058 GB, free: 202.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000138/1.427, allocations: 201.9 kB / 1.058 GB, free: 202.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.427, allocations: 0 / 1.058 GB, free: 202.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003885/1.427, allocations: 87.94 kB / 1.058 GB, free: 202.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0006876/1.428, allocations: 1.366 MB / 1.06 GB, free: 200.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003769/1.428, allocations: 272.9 kB / 1.06 GB, free: 200.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.428, allocations: 0 / 1.06 GB, free: 200.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/1.428, allocations: 55.92 kB / 1.06 GB, free: 200.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/1.429, allocations: 146.6 kB / 1.06 GB, free: 200.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/1.431, allocations: 3.718 MB / 1.064 GB, free: 196.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/1.431, allocations: 0.7602 MB / 1.065 GB, free: 195.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002223/1.431, allocations: 54.88 kB / 1.065 GB, free: 195.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/1.431, allocations: 87.41 kB / 1.065 GB, free: 195.5 MB / 0.6511 GB Notification: Performance of SimCode: time 3.4e-07/1.431, allocations: 0 / 1.065 GB, free: 195.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/1.453, allocations: 8.846 MB / 1.073 GB, free: 186.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.453, allocations: 211.2 kB / 1.074 GB, free: 186.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/3.65, allocations: 0 / 1.074 GB, free: 186.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)