Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.495/2.495, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001574/0.001573, allocations: 172.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001058/0.001058, allocations: 87.88 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.523e-05, allocations: 0 / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8776, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/2.355, allocations: 437.6 MB / 1.391 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/2.356, allocations: 88.06 kB / 1.391 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3813/2.737, allocations: 85.41 MB / 1.474 GB, free: 52.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.184e-06/2.737, allocations: 4 kB / 1.474 GB, free: 52.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.287e-06/2.737, allocations: 0 / 1.474 GB, free: 52.66 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.002955/2.74, allocations: 0.7295 MB / 1.475 GB, free: 51.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/2.74, allocations: 8.031 kB / 1.475 GB, free: 51.89 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/2.74, allocations: 27.75 kB / 1.475 GB, free: 51.86 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/2.741, allocations: 208.3 kB / 1.475 GB, free: 51.63 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/2.741, allocations: 10.69 kB / 1.475 GB, free: 51.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/2.741, allocations: 8 kB / 1.475 GB, free: 51.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006543/2.741, allocations: 405.4 kB / 1.476 GB, free: 51.29 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/2.742, allocations: 225.2 kB / 1.476 GB, free: 51.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/2.742, allocations: 0 / 1.476 GB, free: 51.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/2.742, allocations: 0 / 1.476 GB, free: 51.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/2.742, allocations: 11.94 kB / 1.476 GB, free: 51.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/2.743, allocations: 0.9728 MB / 1.477 GB, free: 50.14 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/2.744, allocations: 137.6 kB / 1.477 GB, free: 50.02 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/2.744, allocations: 55.58 kB / 1.477 GB, free: 49.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/2.746, allocations: 1.949 MB / 1.479 GB, free: 47.72 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/2.746, allocations: 50.14 kB / 1.479 GB, free: 47.67 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/2.746, allocations: 0 / 1.479 GB, free: 47.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0007054/2.746, allocations: 124.2 kB / 1.479 GB, free: 47.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/2.746, allocations: 59.34 kB / 1.479 GB, free: 47.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/2.747, allocations: 131.9 kB / 1.479 GB, free: 47.35 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/2.747, allocations: 25.7 kB / 1.479 GB, free: 47.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/2.747, allocations: 146 kB / 1.479 GB, free: 47.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/2.747, allocations: 54.55 kB / 1.479 GB, free: 47.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/2.747, allocations: 0 / 1.479 GB, free: 47.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/2.747, allocations: 318.6 kB / 1.48 GB, free: 46.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/2.747, allocations: 27 kB / 1.48 GB, free: 46.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/2.747, allocations: 136.7 kB / 1.48 GB, free: 46.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/2.748, allocations: 78.95 kB / 1.48 GB, free: 46.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/2.748, allocations: 0 / 1.48 GB, free: 46.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007264/2.748, allocations: 212.6 kB / 1.48 GB, free: 46.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/2.748, allocations: 8.781 kB / 1.48 GB, free: 46.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/2.748, allocations: 0 / 1.48 GB, free: 46.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/2.748, allocations: 11.95 kB / 1.48 GB, free: 46.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/2.749, allocations: 59.34 kB / 1.48 GB, free: 46.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/2.749, allocations: 4 kB / 1.48 GB, free: 46.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/2.749, allocations: 19.78 kB / 1.48 GB, free: 46.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/2.749, allocations: 16.3 kB / 1.48 GB, free: 46.27 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 0.0001178/2.749, allocations: 120.5 kB / 1.48 GB, free: 46.14 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006269/2.75, allocations: 135.8 kB / 1.481 GB, free: 46.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/2.75, allocations: 15.86 kB / 1.481 GB, free: 46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/2.751, allocations: 171.5 kB / 1.481 GB, free: 45.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/2.751, allocations: 0 / 1.481 GB, free: 45.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.751, allocations: 4 kB / 1.481 GB, free: 45.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/2.751, allocations: 0 / 1.481 GB, free: 45.85 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/2.751, allocations: 186 kB / 1.481 GB, free: 45.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/2.751, allocations: 4 kB / 1.481 GB, free: 45.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/2.751, allocations: 35.86 kB / 1.481 GB, free: 45.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/2.751, allocations: 0 / 1.481 GB, free: 45.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/2.751, allocations: 0 / 1.481 GB, free: 45.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/2.751, allocations: 3.953 kB / 1.481 GB, free: 45.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/2.751, allocations: 6.344 kB / 1.481 GB, free: 45.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/2.752, allocations: 224.5 kB / 1.481 GB, free: 45.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/2.752, allocations: 135 kB / 1.481 GB, free: 45.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/2.752, allocations: 4 kB / 1.481 GB, free: 45.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/2.752, allocations: 7.984 kB / 1.481 GB, free: 45.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/2.752, allocations: 11.94 kB / 1.481 GB, free: 45.22 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/2.753, allocations: 19.48 kB / 1.481 GB, free: 45.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.752e-05/2.753, allocations: 101.6 kB / 1.481 GB, free: 45.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.81e-07/2.753, allocations: 0 / 1.481 GB, free: 45.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006506/2.753, allocations: 77.3 kB / 1.482 GB, free: 45.05 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.001191/2.755, allocations: 0.8891 MB / 1.482 GB, free: 44.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003287/2.755, allocations: 102.5 kB / 1.482 GB, free: 44.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/2.755, allocations: 0.9375 kB / 1.482 GB, free: 44.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/2.755, allocations: 42.23 kB / 1.483 GB, free: 44.04 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/2.756, allocations: 40.97 kB / 1.483 GB, free: 44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/2.757, allocations: 220.5 kB / 1.483 GB, free: 43.77 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/2.757, allocations: 0.7206 MB / 1.483 GB, free: 43.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003222/2.757, allocations: 49.58 kB / 1.484 GB, free: 42.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/2.757, allocations: 47.52 kB / 1.484 GB, free: 42.95 MB / 0.8542 GB Notification: Performance of SimCode: time 1.784e-06/2.757, allocations: 0 / 1.484 GB, free: 42.95 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/2.802, allocations: 4.712 MB / 1.488 GB, free: 38.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/2.803, allocations: 160.1 kB / 1.488 GB, free: 38.11 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/5.239, allocations: 1.969 kB / 1.488 GB, free: 38.11 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)