Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.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: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 288.4 MB / 303.4 MB, free: 8.129 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.0009637/0.0009634, allocations: 182.4 kB / 372 MB, free: 10.29 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.401/1.401, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007963/0.0007964, allocations: 98.22 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 11.62 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2112, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006851/0.212, allocations: 262.2 kB / 0.9798 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001947/0.2122, allocations: 35.91 kB / 0.9799 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.2122, allocations: 0 / 0.9799 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.2123, allocations: 0 / 0.9799 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2124, allocations: 3.984 kB / 0.9799 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.906e-05/0.2125, allocations: 7.938 kB / 0.9799 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.2126, allocations: 8 kB / 0.9799 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.2127, allocations: 4 kB / 0.9799 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.2128, allocations: 3.984 kB / 0.9799 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.2129, allocations: 15.92 kB / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.2129, allocations: 0 / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.213, allocations: 0 / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.213, allocations: 0 / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.2131, allocations: 33.7 kB / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.464e-05/0.2131, allocations: 3.984 kB / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.2132, allocations: 4 kB / 0.9799 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2132, allocations: 0 / 0.9799 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2132, allocations: 0 / 0.9799 GB, free: 27.31 MB / 0.6198 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.0004742/0.2137, allocations: 331.3 kB / 0.9803 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2137, allocations: 12.02 kB / 0.9803 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2138, allocations: 3.938 kB / 0.9803 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.2139, allocations: 183.2 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.214, allocations: 0 / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.214, allocations: 3.984 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/0.2141, allocations: 37.62 kB / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2141, allocations: 0 / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2141, allocations: 4 kB / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2141, allocations: 0 / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.2142, allocations: 4 kB / 0.9805 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.2143, allocations: 157.7 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.2144, allocations: 14.64 kB / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.2144, allocations: 12.84 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2144, allocations: 3.938 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2145, allocations: 34.56 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2145, allocations: 4 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001466/0.2146, allocations: 41.69 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.2147, allocations: 51.41 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.2148, allocations: 113.8 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2148, allocations: 25.7 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.2148, allocations: 80.14 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.2148, allocations: 3.906 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.2148, allocations: 4.125 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.2149, allocations: 318.8 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.2149, allocations: 4 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.2149, allocations: 17.66 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.215, allocations: 7.984 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.215, allocations: 0 / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.158e-05/0.2151, allocations: 53.73 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2151, allocations: 8 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2151, allocations: 3.938 kB / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2151, allocations: 0 / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.2152, allocations: 4 kB / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2152, allocations: 0 / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.2152, allocations: 0 / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2153, allocations: 4 kB / 0.9814 GB, free: 25.57 MB / 0.6198 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 6.542e-05/0.2153, allocations: 113.8 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.2153, allocations: 7.891 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.2155, allocations: 52.81 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.2155, allocations: 0 / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2155, allocations: 0 / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2155, allocations: 3.938 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.395e-05/0.2156, allocations: 161.7 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2156, allocations: 3.938 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.2157, allocations: 7.984 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2157, allocations: 3.953 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2157, allocations: 0 / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2157, allocations: 4.031 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2157, allocations: 0 / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2158, allocations: 73.12 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.2158, allocations: 85.12 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2159, allocations: 3.953 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.2159, allocations: 4 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.2159, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2159, allocations: 8.094 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.216, allocations: 91.52 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.216, allocations: 0 / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002068/0.2162, allocations: 4 kB / 0.982 GB, free: 24.86 MB / 0.6198 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 9.716e-05/0.2163, allocations: 99.19 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.2164, allocations: 11.98 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2164, allocations: 0 / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.2164, allocations: 8.125 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.2166, allocations: 8.062 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.2168, allocations: 120.5 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.2169, allocations: 0.6809 MB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.217, allocations: 4 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.217, allocations: 7.438 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.217, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.002041/0.219, allocations: 300 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)