Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.595/2.595, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001466/0.001466, allocations: 184.9 kB / 360.6 MB, free: 7.293 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.109/2.109, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001038/0.001038, allocations: 92 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.413e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.839, allocations: 115.3 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/2.131, allocations: 380.1 MB / 1.335 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/2.131, allocations: 67.62 kB / 1.335 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0691/2.2, allocations: 19.48 MB / 1.354 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.502e-06/2.2, allocations: 4 kB / 1.354 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.058e-05/2.2, allocations: 4 kB / 1.354 GB, free: 170.2 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.0007777/2.201, allocations: 467.2 kB / 1.354 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/2.201, allocations: 10.28 kB / 1.354 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/2.201, allocations: 23.81 kB / 1.354 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/2.201, allocations: 217.7 kB / 1.354 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/2.201, allocations: 4 kB / 1.354 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/2.201, allocations: 8 kB / 1.354 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006177/2.202, allocations: 414.9 kB / 1.355 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/2.202, allocations: 211 kB / 1.355 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/2.202, allocations: 4 kB / 1.355 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/2.203, allocations: 0 / 1.355 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-05/2.203, allocations: 11.88 kB / 1.355 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/2.204, allocations: 0.938 MB / 1.356 GB, free: 168 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/2.204, allocations: 146 kB / 1.356 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/2.204, allocations: 51.67 kB / 1.356 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/2.206, allocations: 1.911 MB / 1.358 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/2.206, allocations: 42 kB / 1.358 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/2.206, allocations: 0 / 1.358 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0006832/2.207, allocations: 128 kB / 1.358 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/2.207, allocations: 55.41 kB / 1.358 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/2.207, allocations: 134.4 kB / 1.358 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/2.207, allocations: 25.7 kB / 1.358 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/2.207, allocations: 143.1 kB / 1.358 GB, free: 165 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/2.207, allocations: 50.39 kB / 1.358 GB, free: 165 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/2.207, allocations: 4.562 kB / 1.358 GB, free: 165 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/2.207, allocations: 322.4 kB / 1.359 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/2.207, allocations: 31.25 kB / 1.359 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/2.208, allocations: 138.2 kB / 1.359 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/2.208, allocations: 72.42 kB / 1.359 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/2.208, allocations: 0 / 1.359 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006951/2.209, allocations: 214.7 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/2.209, allocations: 10.19 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2.209, allocations: 0 / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/2.209, allocations: 8 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/2.209, allocations: 55.91 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/2.209, allocations: 11.89 kB / 1.359 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/2.209, allocations: 23.34 kB / 1.359 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/2.209, allocations: 19.61 kB / 1.359 GB, free: 164.1 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.0001136/2.21, allocations: 120.8 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000575/2.21, allocations: 129.8 kB / 1.36 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/2.21, allocations: 11.91 kB / 1.36 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006908/2.211, allocations: 176.2 kB / 1.36 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/2.211, allocations: 0 / 1.36 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/2.211, allocations: 7.984 kB / 1.36 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/2.211, allocations: 0 / 1.36 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/2.211, allocations: 188.5 kB / 1.36 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/2.211, allocations: 0 / 1.36 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/2.212, allocations: 35.92 kB / 1.36 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/2.212, allocations: 0 / 1.36 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/2.212, allocations: 3.984 kB / 1.36 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/2.212, allocations: 0 / 1.36 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.78e-06/2.212, allocations: 7.953 kB / 1.36 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/2.212, allocations: 228.1 kB / 1.36 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/2.212, allocations: 124.4 kB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/2.212, allocations: 0 / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/2.213, allocations: 8 kB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/2.213, allocations: 7.984 kB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/2.213, allocations: 19.62 kB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.978e-05/2.213, allocations: 107.4 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/2.213, allocations: 0 / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006281/2.213, allocations: 71.75 kB / 1.361 GB, free: 162.9 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.001046/2.215, allocations: 0.8403 MB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002898/2.215, allocations: 95.92 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.215, allocations: 0 / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/2.215, allocations: 43.48 kB / 1.361 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/2.215, allocations: 37.92 kB / 1.362 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/2.216, allocations: 226.5 kB / 1.362 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/2.217, allocations: 0.7172 MB / 1.362 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003081/2.217, allocations: 47.88 kB / 1.362 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/2.217, allocations: 40.17 kB / 1.363 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/2.217, allocations: 0 / 1.363 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/2.259, allocations: 4.107 MB / 1.367 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/2.259, allocations: 134.1 kB / 1.367 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/4.802, allocations: 0 / 1.367 GB, free: 156.7 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)