Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.749/3.749, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002174/0.002174, allocations: 186.6 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.641/3.641, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 90.55 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006889/0.0006891, allocations: 12.09 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3135, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.74/2.054, allocations: 373.2 MB / 1.264 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004469/2.054, allocations: 71.59 kB / 1.264 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1161/2.17, allocations: 19.26 MB / 1.283 GB, free: 14 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.158e-06/2.17, allocations: 0 / 1.283 GB, free: 14 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.666e-05/2.17, allocations: 11.94 kB / 1.283 GB, free: 13.98 MB / 0.7917 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.001197/2.172, allocations: 480 kB / 1.283 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/2.172, allocations: 8.031 kB / 1.283 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/2.172, allocations: 24.75 kB / 1.283 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/2.172, allocations: 214.1 kB / 1.283 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/2.173, allocations: 7.453 kB / 1.283 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/2.173, allocations: 15.81 kB / 1.283 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/2.173, allocations: 250.2 kB / 1.284 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/2.173, allocations: 192 / 1.284 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/2.174, allocations: 10.31 kB / 1.284 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/2.174, allocations: 8 kB / 1.284 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/2.175, allocations: 427.3 kB / 1.284 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/2.177, allocations: 1.003 MB / 1.285 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/2.178, allocations: 169 kB / 1.285 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/2.179, allocations: 59.44 kB / 1.285 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00304/2.182, allocations: 1.823 MB / 1.287 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/2.182, allocations: 42.48 kB / 1.287 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 3.627e-06/2.182, allocations: 4 kB / 1.287 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.000768/2.183, allocations: 140.1 kB / 1.287 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/2.183, allocations: 51.41 kB / 1.287 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/2.183, allocations: 176.3 kB / 1.288 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/2.183, allocations: 29.7 kB / 1.288 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/2.183, allocations: 142.6 kB / 1.288 GB, free: 8.715 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/2.183, allocations: 50.34 kB / 1.288 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/2.183, allocations: 7.5 kB / 1.288 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000207/2.184, allocations: 329.8 kB / 1.288 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/2.184, allocations: 31.98 kB / 1.288 GB, free: 8.32 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/2.184, allocations: 144 kB / 1.288 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/2.184, allocations: 56.02 kB / 1.288 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/2.184, allocations: 0 / 1.288 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008207/2.185, allocations: 209.5 kB / 1.288 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/2.185, allocations: 12.06 kB / 1.288 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/2.185, allocations: 4 kB / 1.288 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.773e-05/2.186, allocations: 7.984 kB / 1.289 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/2.186, allocations: 55.42 kB / 1.289 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/2.186, allocations: 11.94 kB / 1.289 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/2.186, allocations: 34.8 kB / 1.289 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/2.187, allocations: 15.5 kB / 1.289 GB, free: 7.801 MB / 0.7917 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 0.0002605/2.187, allocations: 125 kB / 1.289 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/2.187, allocations: 19.81 kB / 1.289 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006938/2.188, allocations: 159.3 kB / 1.289 GB, free: 7.535 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/2.188, allocations: 7.984 kB / 1.289 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/2.188, allocations: 0 / 1.289 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/2.188, allocations: 3.938 kB / 1.289 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/2.188, allocations: 215.7 kB / 1.289 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/2.188, allocations: 0 / 1.289 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/2.189, allocations: 35.17 kB / 1.289 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/2.189, allocations: 0 / 1.289 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/2.189, allocations: 11.56 kB / 1.289 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/2.189, allocations: 3.984 kB / 1.289 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.189, allocations: 0 / 1.289 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/2.19, allocations: 212.6 kB / 1.289 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/2.19, allocations: 104.4 kB / 1.289 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/2.19, allocations: 3.438 kB / 1.289 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/2.19, allocations: 11.98 kB / 1.289 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/2.19, allocations: 19.42 kB / 1.29 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/2.191, allocations: 15.38 kB / 1.29 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000203/2.191, allocations: 120 kB / 1.29 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.01e-07/2.191, allocations: 0 / 1.29 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001026/2.192, allocations: 86.16 kB / 1.29 GB, free: 6.699 MB / 0.7917 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.0006132/2.192, allocations: 178.7 kB / 1.29 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005862/2.193, allocations: 120.2 kB / 1.29 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/2.193, allocations: 0 / 1.29 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/2.193, allocations: 46.84 kB / 1.29 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/2.194, allocations: 53.95 kB / 1.29 GB, free: 6.344 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/2.196, allocations: 430.3 kB / 1.291 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/2.197, allocations: 0.7131 MB / 1.291 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005324/2.197, allocations: 49.75 kB / 1.291 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/2.197, allocations: 22.69 kB / 1.291 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of SimCode: time 1.262e-06/2.197, allocations: 0 / 1.291 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of Templates: time 0.01749/2.215, allocations: 3.371 MB / 1.295 GB, free: 1.766 MB / 0.7917 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_7.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)