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.393/1.393, allocations: 249.5 MB / 257 MB, free: 6.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009602/0.0009602, allocations: 179.8 kB / 316.3 MB, free: 3.211 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.416/1.416, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0007982/0.000798, allocations: 99.73 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.921e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1795, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.656/0.8355, allocations: 131.1 MB / 1.013 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.8358, allocations: 62.78 kB / 1.013 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009982/0.8368, allocations: 486.9 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8368, allocations: 0 / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.8368, allocations: 4 kB / 1.014 GB, free: 6.07 MB / 0.6355 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.0002669/0.8371, allocations: 311 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8371, allocations: 12.02 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.8372, allocations: 5.875 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.8374, allocations: 182 kB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.8374, allocations: 3.562 kB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.8374, allocations: 3.984 kB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.166e-05/0.8375, allocations: 4 kB / 1.014 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.163e-05/0.8375, allocations: 33.69 kB / 1.014 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.8376, allocations: 4 kB / 1.014 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.8376, allocations: 0 / 1.014 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.8376, allocations: 0.75 kB / 1.014 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.8377, allocations: 137.6 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.655e-05/0.8378, allocations: 18.52 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.8378, allocations: 8.922 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.8378, allocations: 4 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.8379, allocations: 30.56 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8379, allocations: 0 / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.838, allocations: 45.09 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.838, allocations: 58.08 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.8381, allocations: 100.4 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.8381, allocations: 25.7 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.8382, allocations: 88.17 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.8382, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.8382, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.8383, allocations: 314.2 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.8384, allocations: 7.984 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.8384, allocations: 17.66 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.681e-05/0.8384, allocations: 4 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8384, allocations: 4.062 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.884e-05/0.8385, allocations: 52.48 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.8385, allocations: 4 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8385, allocations: 0 / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8385, allocations: 0 / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.8386, allocations: 7.984 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8386, allocations: 0 / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.8386, allocations: 7.938 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.8386, allocations: 0 / 1.015 GB, free: 4.434 MB / 0.6355 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 6.991e-05/0.8387, allocations: 109 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.069e-05/0.8388, allocations: 41.64 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.8388, allocations: 4 kB / 1.015 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.887e-05/0.8389, allocations: 48.77 kB / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8389, allocations: 0 / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.8389, allocations: 3.938 kB / 1.015 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8389, allocations: 11.92 kB / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.366e-05/0.839, allocations: 128.9 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.839, allocations: 3.984 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.8391, allocations: 12.89 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8391, allocations: 0 / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.8391, allocations: 0 / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8391, allocations: 0 / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8391, allocations: 0 / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.8392, allocations: 74.91 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.8393, allocations: 85.12 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.8393, allocations: 7.359 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.8393, allocations: 4 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.8394, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.8394, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.8394, allocations: 90.08 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8394, allocations: 0 / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000176/0.8396, allocations: 4 kB / 1.016 GB, free: 3.738 MB / 0.6355 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 () * 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.000351/0.84, allocations: 0.6198 MB / 1.016 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.543e-05/0.84, allocations: 8 kB / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8401, allocations: 0 / 1.016 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.8401, allocations: 7.938 kB / 1.016 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.8402, allocations: 7.938 kB / 1.016 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.8405, allocations: 110.4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.8407, allocations: 0.6807 MB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.8408, allocations: 7.984 kB / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.8408, allocations: 11.38 kB / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.8408, allocations: 0 / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.8574, allocations: 0.6709 MB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.8576, allocations: 140.3 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.332, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.6355 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)