Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 179.6 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0007985/0.0007986, allocations: 90.45 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.108e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.58/1.771, allocations: 431.1 MB / 1.306 GB, free: 309.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.771, allocations: 87.38 kB / 1.306 GB, free: 309.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2011/1.972, allocations: 84.95 MB / 1.389 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.183e-06/1.972, allocations: 0 / 1.389 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.972, allocations: 3.938 kB / 1.389 GB, free: 227.9 MB / 0.8698 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.002702/1.975, allocations: 0.7323 MB / 1.39 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.975, allocations: 12.03 kB / 1.39 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/1.975, allocations: 23.84 kB / 1.39 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/1.975, allocations: 210.8 kB / 1.39 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.975, allocations: 4 kB / 1.39 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/1.975, allocations: 16 kB / 1.39 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004061/1.976, allocations: 408.2 kB / 1.391 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/1.976, allocations: 216.7 kB / 1.391 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.976, allocations: 0 / 1.391 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/1.976, allocations: 4 kB / 1.391 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/1.976, allocations: 4 kB / 1.391 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/1.977, allocations: 1.024 MB / 1.392 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/1.977, allocations: 140.3 kB / 1.392 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/1.977, allocations: 44.86 kB / 1.392 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.978, allocations: 1.95 MB / 1.394 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/1.978, allocations: 46.44 kB / 1.394 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/1.978, allocations: 0 / 1.394 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004386/1.979, allocations: 125.5 kB / 1.394 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/1.979, allocations: 63.28 kB / 1.394 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/1.979, allocations: 137.4 kB / 1.394 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.979, allocations: 25.7 kB / 1.394 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/1.979, allocations: 139.9 kB / 1.395 GB, free: 222 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/1.979, allocations: 51.2 kB / 1.395 GB, free: 222 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/1.979, allocations: 4 kB / 1.395 GB, free: 222 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/1.979, allocations: 318.8 kB / 1.395 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/1.979, allocations: 32.48 kB / 1.395 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/1.979, allocations: 137.7 kB / 1.395 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/1.98, allocations: 74.89 kB / 1.395 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.98, allocations: 0 / 1.395 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004084/1.98, allocations: 209.1 kB / 1.395 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.98, allocations: 4 kB / 1.395 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.98, allocations: 4 kB / 1.395 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.98, allocations: 15.94 kB / 1.395 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.98, allocations: 56.38 kB / 1.395 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.98, allocations: 11.98 kB / 1.395 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/1.98, allocations: 23.69 kB / 1.395 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.98, allocations: 16 kB / 1.395 GB, free: 221 MB / 0.8698 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.736e-05/1.98, allocations: 112.9 kB / 1.396 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003432/1.981, allocations: 141.3 kB / 1.396 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/1.981, allocations: 11.86 kB / 1.396 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/1.981, allocations: 166.1 kB / 1.396 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.981, allocations: 4 kB / 1.396 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.981, allocations: 0 / 1.396 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.981, allocations: 0 / 1.396 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.981, allocations: 178.2 kB / 1.396 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.981, allocations: 0 / 1.396 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/1.982, allocations: 31.92 kB / 1.396 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.982, allocations: 0 / 1.396 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/1.982, allocations: 7.984 kB / 1.396 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.982, allocations: 3.953 kB / 1.396 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.982, allocations: 0 / 1.396 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/1.982, allocations: 238.2 kB / 1.396 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/1.982, allocations: 116.9 kB / 1.396 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/1.982, allocations: 0 / 1.396 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/1.982, allocations: 11.92 kB / 1.396 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/1.982, allocations: 19.94 kB / 1.396 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/1.982, allocations: 7.984 kB / 1.396 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.533e-05/1.982, allocations: 99.84 kB / 1.397 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.982, allocations: 4 kB / 1.397 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004046/1.983, allocations: 79.83 kB / 1.397 GB, free: 219.7 MB / 0.8698 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.0007325/1.983, allocations: 0.8919 MB / 1.398 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001727/1.984, allocations: 104.1 kB / 1.398 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.984, allocations: 4 kB / 1.398 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/1.984, allocations: 43.02 kB / 1.398 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/1.984, allocations: 39.84 kB / 1.398 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/1.985, allocations: 224.4 kB / 1.398 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/1.985, allocations: 0.7167 MB / 1.399 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001645/1.985, allocations: 49.59 kB / 1.399 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/1.985, allocations: 43.42 kB / 1.399 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/1.985, allocations: 0 / 1.399 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/2.006, allocations: 4.683 MB / 1.403 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/2.007, allocations: 168.2 kB / 1.403 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/3.581, allocations: 0 / 1.403 GB, free: 212.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)