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: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 252 MB / 268 MB, free: 10.88 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.0009835/0.0009836, allocations: 184 kB / 327.6 MB, free: 2.109 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.481/1.481, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007738/0.0007737, allocations: 79.95 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 14.58 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1792, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006039/0.1798, allocations: 269.6 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.18, allocations: 43.8 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.1801, allocations: 0 / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1801, allocations: 0 / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1802, allocations: 7.938 kB / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.676e-05/0.1803, allocations: 0 / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.1804, allocations: 11.98 kB / 0.9018 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.1804, allocations: 9.281 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.1805, allocations: 0 / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.1806, allocations: 11.97 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1806, allocations: 3.938 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.1806, allocations: 4 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.1806, allocations: 4 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.1807, allocations: 25.7 kB / 0.9018 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.046e-05/0.1807, allocations: 11.92 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1807, allocations: 0 / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1807, allocations: 3.938 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1808, allocations: 3.938 kB / 0.9018 GB, free: 63.11 MB / 0.6042 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.0003687/0.1811, allocations: 327.5 kB / 0.9022 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1812, allocations: 12.03 kB / 0.9022 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1812, allocations: 0.9375 kB / 0.9022 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1814, allocations: 176.3 kB / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1814, allocations: 384 / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1814, allocations: 4.375 kB / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.371e-05/0.1815, allocations: 30.27 kB / 0.9024 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1815, allocations: 192 / 0.9024 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1815, allocations: 7.938 kB / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1815, allocations: 0 / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/0.1815, allocations: 3.984 kB / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.1817, allocations: 157.6 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.1817, allocations: 18.61 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.1817, allocations: 8.922 kB / 0.9026 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1818, allocations: 0 / 0.9026 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.1818, allocations: 46.55 kB / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1818, allocations: 0 / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.1819, allocations: 49.56 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.1819, allocations: 51.41 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.182, allocations: 105.8 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.182, allocations: 25.7 kB / 0.9028 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.1821, allocations: 84.14 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.1821, allocations: 11.89 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.1821, allocations: 4.125 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.1821, allocations: 310.8 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.1822, allocations: 7.984 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.1822, allocations: 13.72 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.1822, allocations: 29.64 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1822, allocations: 0 / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.921e-05/0.1823, allocations: 45.75 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1823, allocations: 6.5 kB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1823, allocations: 7.922 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1823, allocations: 4 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.1824, allocations: 11.94 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1824, allocations: 0 / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.1825, allocations: 3.938 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1825, allocations: 0 / 0.9033 GB, free: 61.34 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.1825, allocations: 117.9 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.1825, allocations: 0 / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.966e-05/0.1826, allocations: 53.03 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1826, allocations: 0 / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1826, allocations: 3.938 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1827, allocations: 0 / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.64e-05/0.1827, allocations: 157.6 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1827, allocations: 4 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.1828, allocations: 3.984 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1828, allocations: 0 / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.1828, allocations: 11.97 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1828, allocations: 0 / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1828, allocations: 3.938 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.621e-05/0.1829, allocations: 73.03 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.183, allocations: 85.12 kB / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.183, allocations: 3.938 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.183, allocations: 0 / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.183, allocations: 4.094 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.183, allocations: 0 / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.1831, allocations: 95.52 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1831, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001858/0.1833, allocations: 4 kB / 0.9039 GB, free: 60.63 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.41e-05/0.1834, allocations: 99.25 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.1834, allocations: 15.92 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1834, allocations: 128 / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.1835, allocations: 8 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1836, allocations: 5.891 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.1839, allocations: 146.6 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.184, allocations: 0.677 MB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.184, allocations: 11.44 kB / 0.9049 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.184, allocations: 0 / 0.9049 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.001529/0.1856, allocations: 0.5037 MB / 0.9054 GB, free: 59.1 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)