Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",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.754/1.754, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001145/0.001145, allocations: 189.7 kB / 371.8 MB, free: 10.26 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.823/1.823, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009887/0.0009886, allocations: 94.86 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004518, allocations: 10.5 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3346, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.518, allocations: 381 MB / 1.352 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.519, allocations: 71.09 kB / 1.352 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04826/1.567, allocations: 19.62 MB / 1.371 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.146e-06/1.567, allocations: 4 kB / 1.371 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.567, allocations: 0 / 1.371 GB, free: 15.74 MB / 0.9011 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.0008182/1.568, allocations: 483.4 kB / 1.371 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.568, allocations: 12.02 kB / 1.371 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.811e-05/1.568, allocations: 57.22 kB / 1.371 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/1.568, allocations: 23.8 kB / 1.371 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/1.568, allocations: 213.2 kB / 1.372 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/1.568, allocations: 16.19 kB / 1.372 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/1.568, allocations: 11.94 kB / 1.372 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/1.569, allocations: 247.5 kB / 1.372 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.569, allocations: 0 / 1.372 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.569, allocations: 10.81 kB / 1.372 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/1.569, allocations: 7.938 kB / 1.372 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/1.569, allocations: 430.6 kB / 1.372 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/1.57, allocations: 0.9824 MB / 1.373 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/1.571, allocations: 162.8 kB / 1.373 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/1.572, allocations: 1.85 MB / 1.375 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.573, allocations: 30.56 kB / 1.375 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/1.573, allocations: 0 / 1.375 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0003921/1.573, allocations: 141.2 kB / 1.375 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.573, allocations: 55.41 kB / 1.375 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/1.573, allocations: 153.4 kB / 1.375 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/1.573, allocations: 29.7 kB / 1.376 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/1.573, allocations: 142.9 kB / 1.376 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/1.573, allocations: 53.83 kB / 1.376 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-06/1.573, allocations: 3.812 kB / 1.376 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.573, allocations: 325.6 kB / 1.376 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/1.574, allocations: 34.3 kB / 1.376 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/1.574, allocations: 140.3 kB / 1.376 GB, free: 9.941 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/1.574, allocations: 55.88 kB / 1.376 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.574, allocations: 0 / 1.376 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003224/1.574, allocations: 220.4 kB / 1.376 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.574, allocations: 4 kB / 1.376 GB, free: 9.715 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.574, allocations: 4 kB / 1.376 GB, free: 9.711 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.574, allocations: 8 kB / 1.376 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/1.574, allocations: 60.33 kB / 1.377 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/1.574, allocations: 11.92 kB / 1.377 GB, free: 9.633 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.575, allocations: 35.3 kB / 1.377 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/1.575, allocations: 12 kB / 1.377 GB, free: 9.59 MB / 0.9011 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.0001346/1.575, allocations: 130.5 kB / 1.377 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/1.575, allocations: 15.81 kB / 1.377 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/1.575, allocations: 155.9 kB / 1.377 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.575, allocations: 3.984 kB / 1.377 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.575, allocations: 7.953 kB / 1.377 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.575, allocations: 7.938 kB / 1.377 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/1.575, allocations: 212.2 kB / 1.377 GB, free: 9.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.575, allocations: 0 / 1.377 GB, free: 9.059 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/1.576, allocations: 31.97 kB / 1.377 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.576, allocations: 0 / 1.377 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/1.576, allocations: 0 / 1.377 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.576, allocations: 0 / 1.377 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.576, allocations: 7.938 kB / 1.377 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/1.576, allocations: 225.5 kB / 1.377 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/1.576, allocations: 115.8 kB / 1.377 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/1.576, allocations: 3.25 kB / 1.377 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.576, allocations: 19.36 kB / 1.377 GB, free: 8.664 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/1.576, allocations: 11.97 kB / 1.377 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/1.576, allocations: 15.3 kB / 1.377 GB, free: 8.641 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.015e-05/1.576, allocations: 119.4 kB / 1.378 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.576, allocations: 0 / 1.378 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004575/1.577, allocations: 85.95 kB / 1.378 GB, free: 8.461 MB / 0.9011 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.0006814/1.578, allocations: 0.8316 MB / 1.378 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002352/1.578, allocations: 118.7 kB / 1.379 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.578, allocations: 192 / 1.379 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/1.578, allocations: 42.86 kB / 1.379 GB, free: 7.496 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/1.578, allocations: 47.97 kB / 1.379 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/1.581, allocations: 3.265 MB / 1.382 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.581, allocations: 0.7172 MB / 1.383 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000201/1.581, allocations: 53.73 kB / 1.383 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/1.581, allocations: 44.53 kB / 1.383 GB, free: 3.363 MB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/1.581, allocations: 4 kB / 1.383 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/1.601, allocations: 5.047 MB / 1.388 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/1.601, allocations: 178 kB / 1.388 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/3.414, allocations: 3.938 kB / 1.388 GB, free: 14.23 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)