Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001026/0.001026, allocations: 172.9 kB / 366.7 MB, free: 1.691 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.747/1.747, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0008804/0.0008806, allocations: 85.72 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.147e-05, allocations: 0 / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8529, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/2.051, allocations: 381.2 MB / 1.346 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/2.051, allocations: 65.62 kB / 1.346 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04084/2.092, allocations: 19.47 MB / 1.365 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/2.092, allocations: 0 / 1.365 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.606e-06/2.092, allocations: 0 / 1.365 GB, free: 158.6 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.0006379/2.093, allocations: 476.1 kB / 1.365 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/2.093, allocations: 12.03 kB / 1.365 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/2.093, allocations: 23.75 kB / 1.365 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/2.093, allocations: 214.2 kB / 1.365 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/2.093, allocations: 8 kB / 1.365 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/2.093, allocations: 12 kB / 1.365 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004036/2.093, allocations: 408.6 kB / 1.366 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/2.094, allocations: 214 kB / 1.366 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/2.094, allocations: 0 / 1.366 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/2.094, allocations: 1.594 kB / 1.366 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/2.094, allocations: 4 kB / 1.366 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/2.095, allocations: 0.9429 MB / 1.367 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/2.095, allocations: 148.3 kB / 1.367 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/2.095, allocations: 49.48 kB / 1.367 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/2.096, allocations: 1.919 MB / 1.369 GB, free: 154 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/2.096, allocations: 37.88 kB / 1.369 GB, free: 154 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/2.096, allocations: 0 / 1.369 GB, free: 154 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004539/2.097, allocations: 136.4 kB / 1.369 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/2.097, allocations: 51.41 kB / 1.369 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/2.097, allocations: 135.4 kB / 1.369 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/2.097, allocations: 25.7 kB / 1.369 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/2.097, allocations: 147.6 kB / 1.369 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/2.097, allocations: 50.58 kB / 1.37 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/2.097, allocations: 1.781 kB / 1.37 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/2.097, allocations: 325.8 kB / 1.37 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/2.097, allocations: 23 kB / 1.37 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/2.097, allocations: 136 kB / 1.37 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/2.098, allocations: 72.53 kB / 1.37 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/2.098, allocations: 4 kB / 1.37 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004144/2.098, allocations: 206 kB / 1.37 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/2.098, allocations: 9.406 kB / 1.37 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/2.098, allocations: 4 kB / 1.37 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/2.098, allocations: 4 kB / 1.37 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/2.098, allocations: 59.84 kB / 1.37 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/2.098, allocations: 8 kB / 1.37 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/2.098, allocations: 32.14 kB / 1.37 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/2.098, allocations: 11.98 kB / 1.37 GB, free: 152.5 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 7.754e-05/2.098, allocations: 114.4 kB / 1.37 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003399/2.099, allocations: 132.2 kB / 1.371 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/2.099, allocations: 15.84 kB / 1.371 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/2.099, allocations: 171.1 kB / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/2.099, allocations: 11.94 kB / 1.371 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/2.099, allocations: 3.984 kB / 1.371 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/2.099, allocations: 4 kB / 1.371 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/2.099, allocations: 190 kB / 1.371 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/2.1, allocations: 2.25 kB / 1.371 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/2.1, allocations: 27.98 kB / 1.371 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/2.1, allocations: 0 / 1.371 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/2.1, allocations: 0 / 1.371 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/2.1, allocations: 7.938 kB / 1.371 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.1, allocations: 0 / 1.371 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/2.1, allocations: 231.3 kB / 1.371 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/2.1, allocations: 124 kB / 1.371 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/2.1, allocations: 0 / 1.371 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/2.1, allocations: 4.562 kB / 1.371 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/2.1, allocations: 11.73 kB / 1.371 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/2.1, allocations: 11.98 kB / 1.371 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.134e-05/2.1, allocations: 103.1 kB / 1.372 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/2.1, allocations: 0 / 1.372 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003814/2.101, allocations: 74.77 kB / 1.372 GB, free: 151.4 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.0006905/2.102, allocations: 0.85 MB / 1.372 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001779/2.102, allocations: 98.8 kB / 1.372 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/2.102, allocations: 0.9375 kB / 1.372 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/2.102, allocations: 43.05 kB / 1.373 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/2.102, allocations: 28.11 kB / 1.373 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/2.103, allocations: 222.6 kB / 1.373 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/2.103, allocations: 0.7211 MB / 1.373 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001678/2.103, allocations: 45.47 kB / 1.374 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/2.103, allocations: 41.55 kB / 1.374 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/2.103, allocations: 4 kB / 1.374 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/2.126, allocations: 4.125 MB / 1.378 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/2.126, allocations: 120.8 kB / 1.378 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/3.949, allocations: 2.344 kB / 1.378 GB, free: 145.1 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)