Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 252 MB / 267.6 MB, free: 10.97 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.0009878/0.0009878, allocations: 179.7 kB / 327.3 MB, free: 2.242 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.759/1.759, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0008167/0.0008167, allocations: 88.08 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003051, allocations: 13.88 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.174, allocations: 106.3 MB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001265/0.1753, allocations: 1.157 MB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000483/0.1758, allocations: 360 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.1759, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.1759, allocations: 3.938 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.1759, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1762, allocations: 75.84 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.704e-05/0.1763, allocations: 23.92 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.1764, allocations: 7.984 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.1764, allocations: 7.938 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.043e-05/0.1764, allocations: 15.92 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.1765, allocations: 0 / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.1767, allocations: 263.7 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.1767, allocations: 4 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.1768, allocations: 29.7 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1769, allocations: 67.88 kB / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1769, allocations: 0 / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1769, allocations: 0 / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1769, allocations: 0 / 0.9028 GB, free: 61.94 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003458/0.1773, allocations: 367.5 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.1773, allocations: 15.97 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.1774, allocations: 3.906 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.833e-05/0.1774, allocations: 171 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1775, allocations: 4 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.1775, allocations: 3.938 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1776, allocations: 57.67 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1776, allocations: 0 / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1777, allocations: 0 / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1777, allocations: 4 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1778, allocations: 43.95 kB / 0.9034 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.1781, allocations: 244.9 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1782, allocations: 54.53 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.1783, allocations: 32.91 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.1788, allocations: 465.4 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1789, allocations: 34.56 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1789, allocations: 0 / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003428/0.1792, allocations: 97.64 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.1792, allocations: 51.41 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.695e-05/0.1793, allocations: 109.9 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.1793, allocations: 29.7 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.1793, allocations: 88.03 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.1794, allocations: 4 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.1794, allocations: 0 / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.1794, allocations: 318.8 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.1795, allocations: 19.98 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1796, allocations: 27.97 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.1797, allocations: 23.98 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1797, allocations: 0 / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.1799, allocations: 77.64 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1799, allocations: 11.98 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1799, allocations: 3.938 kB / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1799, allocations: 0 / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.18, allocations: 8 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.18, allocations: 0 / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1801, allocations: 16.02 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.1801, allocations: 3.938 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 4.495e-05/0.1801, allocations: 113.8 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1802, allocations: 4 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.1804, allocations: 85.17 kB / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1804, allocations: 0 / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1804, allocations: 0 / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1804, allocations: 3.984 kB / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1805, allocations: 169.6 kB / 0.9054 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1805, allocations: 0 / 0.9054 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.1806, allocations: 11.98 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1806, allocations: 4.031 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1806, allocations: 0 / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1806, allocations: 0 / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1806, allocations: 0 / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1808, allocations: 187.3 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.1809, allocations: 77.11 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1809, allocations: 4 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.181, allocations: 7.984 kB / 0.9057 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.181, allocations: 0 / 0.9057 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.181, allocations: 4 kB / 0.9057 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.269e-05/0.181, allocations: 91.52 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.181, allocations: 4.031 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000202/0.1812, allocations: 19.94 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0001193/0.1814, allocations: 107.2 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1816, allocations: 47.91 kB / 0.906 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1816, allocations: 4.062 kB / 0.906 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1817, allocations: 23.98 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1819, allocations: 7.938 kB / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.1821, allocations: 138.4 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.729e-05/0.1822, allocations: 0.681 MB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.1822, allocations: 7.438 kB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.1823, allocations: 0 / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.001707/0.184, allocations: 0.6896 MB / 0.9075 GB, free: 56.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)