Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.26/1.26, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001094/0.001094, allocations: 174.3 kB / 326.5 MB, free: 2.691 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.397/1.397, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007112/0.0007109, allocations: 95.31 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003154, allocations: 13.3 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001307/0.1744, allocations: 1.172 MB / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.1747, allocations: 89.34 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.1747, allocations: 4 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1748, allocations: 11.92 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.1748, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.1749, allocations: 8 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.28e-05/0.175, allocations: 27.92 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.1751, allocations: 11.92 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.1751, allocations: 19.91 kB / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.1752, allocations: 7.984 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1752, allocations: 0 / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.1752, allocations: 15.98 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.1753, allocations: 3.938 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.1753, allocations: 15.94 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.091e-05/0.1754, allocations: 27.89 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1754, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1754, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1754, allocations: 0 / 0.8981 GB, free: 66.78 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.0003371/0.1757, allocations: 343.4 kB / 0.8984 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1758, allocations: 8.031 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1759, allocations: 24.83 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.903e-05/0.176, allocations: 168.3 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.176, allocations: 8.359 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.1761, allocations: 384 / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1762, allocations: 62.23 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1762, allocations: 4.188 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1763, allocations: 7.938 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1763, allocations: 0 / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.1765, allocations: 63.88 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.1767, allocations: 264.9 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1769, allocations: 66.48 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.177, allocations: 36.89 kB / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.177, allocations: 0 / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.177, allocations: 38.56 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1771, allocations: 0 / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003531/0.1774, allocations: 133.6 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.423e-05/0.1774, allocations: 55.41 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.1775, allocations: 101.8 kB / 0.8994 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.1775, allocations: 29.7 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.1775, allocations: 84.14 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.1776, allocations: 3.906 kB / 0.8996 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.1776, allocations: 13.7 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.12e-05/0.1776, allocations: 318.8 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-05/0.1777, allocations: 28.02 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.1778, allocations: 31.97 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.178, allocations: 64.88 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.178, allocations: 4 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.1782, allocations: 105.5 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1782, allocations: 4 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1782, allocations: 3.938 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1782, allocations: 0 / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.1783, allocations: 20.02 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1783, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.1784, allocations: 11.98 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.1784, allocations: 0 / 0.9001 GB, free: 64.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.1785, allocations: 113.8 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.1785, allocations: 3.938 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.1785, allocations: 7.531 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1785, allocations: 0 / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1786, allocations: 256 / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.1786, allocations: 85.02 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1786, allocations: 7.984 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.1787, allocations: 8 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.1787, allocations: 3.984 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002578/0.179, allocations: 188.8 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002246/0.1792, allocations: 266.8 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.504e-05/0.1793, allocations: 36 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.957e-05/0.1794, allocations: 79.28 kB / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of Backend: time 3.31e-07/0.1794, allocations: 4 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.1798, allocations: 127.9 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000306/0.1801, allocations: 0.5513 MB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.002535/0.1826, allocations: 0.8835 MB / 0.9024 GB, free: 62.04 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)