Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 285.4 MB / 298 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 180.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008626/0.0008625, allocations: 91.38 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.953e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7905, allocations: 115.3 MB / 0.971 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.9, allocations: 438.5 MB / 1.399 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.9, allocations: 89.03 kB / 1.399 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2045/2.104, allocations: 86.37 MB / 1.484 GB, free: 38.78 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.844e-06/2.105, allocations: 0 / 1.484 GB, free: 38.78 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.406e-06/2.105, allocations: 4 kB / 1.484 GB, free: 38.78 MB / 0.8542 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.002577/2.107, allocations: 0.738 MB / 1.484 GB, free: 38.01 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/2.107, allocations: 12.03 kB / 1.484 GB, free: 38 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/2.107, allocations: 50.05 kB / 1.484 GB, free: 37.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/2.107, allocations: 23.77 kB / 1.484 GB, free: 37.93 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/2.108, allocations: 210.4 kB / 1.485 GB, free: 37.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/2.108, allocations: 12.2 kB / 1.485 GB, free: 37.69 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/2.108, allocations: 15.62 kB / 1.485 GB, free: 37.68 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/2.108, allocations: 234 kB / 1.485 GB, free: 37.49 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/2.108, allocations: 7.938 kB / 1.485 GB, free: 37.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/2.108, allocations: 3.812 kB / 1.485 GB, free: 37.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/2.108, allocations: 11.94 kB / 1.485 GB, free: 37.47 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/2.109, allocations: 425.1 kB / 1.485 GB, free: 37.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/2.109, allocations: 1.012 MB / 1.486 GB, free: 36.14 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/2.11, allocations: 155.1 kB / 1.486 GB, free: 36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/2.11, allocations: 54.92 kB / 1.486 GB, free: 35.96 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/2.111, allocations: 1.975 MB / 1.488 GB, free: 33.68 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/2.111, allocations: 42.5 kB / 1.488 GB, free: 33.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/2.111, allocations: 0 / 1.488 GB, free: 33.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002601/2.111, allocations: 117.5 kB / 1.489 GB, free: 33.53 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/2.111, allocations: 55.41 kB / 1.489 GB, free: 33.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/2.111, allocations: 146.7 kB / 1.489 GB, free: 33.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/2.111, allocations: 33.14 kB / 1.489 GB, free: 33.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/2.111, allocations: 142.2 kB / 1.489 GB, free: 33.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/2.112, allocations: 50.28 kB / 1.489 GB, free: 33.11 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/2.112, allocations: 7.625 kB / 1.489 GB, free: 33.11 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/2.112, allocations: 326 kB / 1.489 GB, free: 32.79 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/2.112, allocations: 31 kB / 1.489 GB, free: 32.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/2.112, allocations: 137.5 kB / 1.489 GB, free: 32.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/2.112, allocations: 57.03 kB / 1.49 GB, free: 32.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.112, allocations: 7.75 kB / 1.49 GB, free: 32.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002658/2.112, allocations: 214.6 kB / 1.49 GB, free: 32.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/2.112, allocations: 7.953 kB / 1.49 GB, free: 32.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/2.112, allocations: 4 kB / 1.49 GB, free: 32.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/2.112, allocations: 8 kB / 1.49 GB, free: 32.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/2.112, allocations: 61.59 kB / 1.49 GB, free: 32.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/2.112, allocations: 4 kB / 1.49 GB, free: 32.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/2.113, allocations: 31.02 kB / 1.49 GB, free: 32.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/2.113, allocations: 16 kB / 1.49 GB, free: 32.23 MB / 0.8542 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.527e-05/2.113, allocations: 117.2 kB / 1.49 GB, free: 32.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/2.113, allocations: 15.81 kB / 1.49 GB, free: 32.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/2.113, allocations: 159.4 kB / 1.49 GB, free: 31.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/2.113, allocations: 4 kB / 1.49 GB, free: 31.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/2.113, allocations: 0 / 1.49 GB, free: 31.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/2.113, allocations: 0 / 1.49 GB, free: 31.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/2.113, allocations: 221.8 kB / 1.49 GB, free: 31.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/2.113, allocations: 4 kB / 1.49 GB, free: 31.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/2.113, allocations: 31.92 kB / 1.49 GB, free: 31.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/2.113, allocations: 0 / 1.49 GB, free: 31.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/2.113, allocations: 11.92 kB / 1.49 GB, free: 31.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/2.113, allocations: 3.953 kB / 1.49 GB, free: 31.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/2.113, allocations: 1.125 kB / 1.49 GB, free: 31.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/2.114, allocations: 215.5 kB / 1.491 GB, free: 31.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/2.114, allocations: 116 kB / 1.491 GB, free: 31.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/2.114, allocations: 11.42 kB / 1.491 GB, free: 31.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/2.114, allocations: 11.81 kB / 1.491 GB, free: 31.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/2.114, allocations: 11.94 kB / 1.491 GB, free: 31.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/2.114, allocations: 11.98 kB / 1.491 GB, free: 31.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.761e-05/2.114, allocations: 119.1 kB / 1.491 GB, free: 31.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/2.114, allocations: 0 / 1.491 GB, free: 31.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004025/2.114, allocations: 82.78 kB / 1.491 GB, free: 31.12 MB / 0.8542 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.0005464/2.115, allocations: 0.8776 MB / 1.492 GB, free: 30.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001885/2.115, allocations: 109.9 kB / 1.492 GB, free: 30.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.115, allocations: 4 kB / 1.492 GB, free: 30.15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/2.115, allocations: 51.77 kB / 1.492 GB, free: 30.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/2.116, allocations: 54.17 kB / 1.492 GB, free: 30.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/2.116, allocations: 241.2 kB / 1.492 GB, free: 29.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/2.116, allocations: 0.7247 MB / 1.493 GB, free: 29.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001712/2.117, allocations: 53.86 kB / 1.493 GB, free: 29.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/2.117, allocations: 45.72 kB / 1.493 GB, free: 28.99 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/2.117, allocations: 3.938 kB / 1.493 GB, free: 28.99 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/2.134, allocations: 6.185 MB / 1.499 GB, free: 22.99 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/2.134, allocations: 174.6 kB / 1.499 GB, free: 22.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/3.902, allocations: 4 kB / 1.499 GB, free: 22.76 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)