Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",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.422/1.422, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 177.2 kB / 326.5 MB, free: 2.258 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.926/1.926, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008504/0.0008504, allocations: 87.61 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 9.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2569, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.4448, allocations: 130.9 MB / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4451, allocations: 67.95 kB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001109/0.4462, allocations: 484.9 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4462, allocations: 7.984 kB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.4462, allocations: 4 kB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003222/0.4466, allocations: 331.3 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4466, allocations: 8.031 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.4467, allocations: 30.56 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.4467, allocations: 0 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.447, allocations: 182.9 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.447, allocations: 4 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.447, allocations: 7.938 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.937e-05/0.4471, allocations: 37.62 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.4471, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.4471, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4471, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.4472, allocations: 4 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.4473, allocations: 153.6 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.4474, allocations: 22.61 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4474, allocations: 7.984 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.4475, allocations: 34.62 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 4.017e-06/0.4475, allocations: 0 / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.4476, allocations: 41.62 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4477, allocations: 51.41 kB / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.4478, allocations: 105 kB / 1.029 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4478, allocations: 29.7 kB / 1.029 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.4479, allocations: 88.27 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.4479, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.4479, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4481, allocations: 310.8 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.4481, allocations: 7.984 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.4481, allocations: 17.72 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.4481, allocations: 7.938 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4482, allocations: 8.016 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.156e-05/0.4482, allocations: 45.59 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4483, allocations: 4 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4483, allocations: 4 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4483, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.4484, allocations: 11.92 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4484, allocations: 3.938 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.4484, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4484, allocations: 4 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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 8.246e-05/0.4485, allocations: 113.9 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.4485, allocations: 3.953 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.4486, allocations: 52.8 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.4486, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4487, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4487, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.4488, allocations: 153.7 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4488, allocations: 0 / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.4488, allocations: 7.953 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4489, allocations: 8.031 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.4489, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4489, allocations: 3.938 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4489, allocations: 7.922 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.449, allocations: 77.02 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.4491, allocations: 81.14 kB / 1.03 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.4491, allocations: 3.953 kB / 1.03 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.306e-05/0.4491, allocations: 4.078 kB / 1.03 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.4492, allocations: 4 kB / 1.03 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.4492, allocations: 4 kB / 1.03 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.4492, allocations: 87.53 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4492, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001849/0.4494, allocations: 4 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0004048/0.4498, allocations: 0.6242 MB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.574e-05/0.4499, allocations: 8.672 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4499, allocations: 0 / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.4499, allocations: 11.92 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.4501, allocations: 14.19 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.4507, allocations: 0.5294 MB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.4509, allocations: 0.677 MB / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.4509, allocations: 4 kB / 1.032 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.451, allocations: 15.42 kB / 1.032 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.451, allocations: 0 / 1.032 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.4621, allocations: 0.9767 MB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4624, allocations: 180.5 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.128, allocations: 4 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)