Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",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.588/1.588, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001263/0.001263, allocations: 176.9 kB / 361.4 MB, free: 6.824 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.662/1.662, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0008619/0.0008621, allocations: 95.09 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.63e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.741, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.9367, allocations: 136.4 MB / 1.098 GB, free: 3.352 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.937, allocations: 68.55 kB / 1.098 GB, free: 3.285 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007767/0.9378, allocations: 418 kB / 1.098 GB, free: 2.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9378, allocations: 0 / 1.098 GB, free: 2.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.9378, allocations: 0 / 1.098 GB, free: 2.879 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003153/0.9382, allocations: 309 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.9382, allocations: 8.875 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.9383, allocations: 1.031 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.9384, allocations: 167.8 kB / 1.099 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.9384, allocations: 4 kB / 1.099 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-06/0.9385, allocations: 0 / 1.099 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.889e-05/0.9385, allocations: 3.156 kB / 1.099 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.9387, allocations: 48.05 kB / 1.099 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9387, allocations: 0 / 1.099 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.9387, allocations: 0 / 1.099 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9387, allocations: 0 / 1.099 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.9389, allocations: 143.9 kB / 1.099 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.9389, allocations: 37.23 kB / 1.099 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.939, allocations: 10.78 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.939, allocations: 4.594 kB / 1.099 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.939, allocations: 40.06 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.939, allocations: 0 / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.9392, allocations: 34.25 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.9392, allocations: 81.77 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.9393, allocations: 85.69 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9393, allocations: 25.7 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.9393, allocations: 80.7 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.9394, allocations: 17.41 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.9394, allocations: 0 / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9395, allocations: 311.5 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.9396, allocations: 4.656 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.9396, allocations: 10.44 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.9396, allocations: 5.344 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9396, allocations: 0 / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.293e-05/0.9397, allocations: 39 kB / 1.1 GB, free: 1.234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9397, allocations: 7.953 kB / 1.1 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9397, allocations: 0.7812 kB / 1.1 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.9397, allocations: 4.594 kB / 1.1 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.9398, allocations: 4.625 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9398, allocations: 2.656 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.9399, allocations: 4.594 kB / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.9399, allocations: 4.984 kB / 1.1 GB, free: 1.211 MB / 0.698 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 () * 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 9.162e-05/0.94, allocations: 111.2 kB / 1.1 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.572e-05/0.94, allocations: 38.45 kB / 1.1 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.94, allocations: 11.55 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.9402, allocations: 50.66 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9402, allocations: 0.5 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9402, allocations: 0.7188 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9402, allocations: 0 / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.9403, allocations: 133.6 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9403, allocations: 0 / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.9403, allocations: 7.938 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9404, allocations: 0 / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.9404, allocations: 3.953 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9404, allocations: 0 / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.9404, allocations: 0 / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.039e-05/0.9405, allocations: 82.92 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.9405, allocations: 83.97 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.9406, allocations: 2.938 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.9406, allocations: 0 / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.9406, allocations: 4 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.9406, allocations: 4.328 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.9406, allocations: 79.28 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.843e-06/0.9406, allocations: 0 / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001981/0.9409, allocations: 6.438 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0004252/0.9413, allocations: 0.6875 MB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.079e-05/0.9414, allocations: 8 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9414, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-06/0.9414, allocations: 7.938 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.9415, allocations: 0.7812 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.9418, allocations: 90.45 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.9421, allocations: 0.6692 MB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.9421, allocations: 8 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.9421, allocations: 7.438 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9421, allocations: 0 / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.96, allocations: 455.9 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.9602, allocations: 149.1 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.492, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)