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.289/1.289, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0008957/0.0008958, allocations: 179.1 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.399/1.399, allocations: 205 MB / 0.5766 GB, free: 20.95 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.000701/0.0007011, allocations: 89.34 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002718, allocations: 12.66 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1743, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001483/0.1758, allocations: 1.172 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.1765, allocations: 408.4 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.1766, allocations: 0 / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.1767, allocations: 3.938 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.1767, allocations: 4 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.1771, allocations: 75.84 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.1772, allocations: 23.92 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.1773, allocations: 11.92 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.1773, allocations: 11.94 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.1774, allocations: 7.984 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1774, allocations: 0 / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.1777, allocations: 283.5 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.1777, allocations: 7.984 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.1777, allocations: 7.938 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1779, allocations: 103.8 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1779, allocations: 0 / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1779, allocations: 0 / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.1779, allocations: 0 / 0.8988 GB, free: 66.07 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.000381/0.1783, allocations: 359.4 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1784, allocations: 12.03 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.1784, allocations: 8.844 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/0.1785, allocations: 168.3 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1785, allocations: 384 / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.1786, allocations: 8.312 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1787, allocations: 55.11 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1787, allocations: 192 / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1788, allocations: 3.938 kB / 0.8994 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1788, allocations: 4 kB / 0.8994 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1789, allocations: 43.91 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.1792, allocations: 253 kB / 0.8997 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.1793, allocations: 46.5 kB / 0.8997 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.1794, allocations: 32.89 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/0.18, allocations: 457.5 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.18, allocations: 34.56 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.18, allocations: 0 / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003622/0.1804, allocations: 105.5 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.1804, allocations: 55.41 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.1805, allocations: 110 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.1805, allocations: 25.7 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.1805, allocations: 92.08 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1805, allocations: 3.906 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.1806, allocations: 9.719 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.1806, allocations: 322.8 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.1807, allocations: 15.98 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.455e-05/0.1808, allocations: 27.98 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1809, allocations: 48.83 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1809, allocations: 4 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/0.1811, allocations: 81.59 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1811, allocations: 4 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1811, allocations: 0 / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1812, allocations: 0 / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.1812, allocations: 16.02 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1812, allocations: 0 / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1813, allocations: 15.98 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1813, allocations: 0 / 0.9011 GB, free: 63.38 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 4.78e-05/0.1814, allocations: 109.8 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.1814, allocations: 3.938 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.1816, allocations: 93.11 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1816, allocations: 0 / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1816, allocations: 0 / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.1817, allocations: 89 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1817, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1817, allocations: 8.031 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1818, allocations: 7.984 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002048/0.182, allocations: 164.9 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002189/0.1822, allocations: 254.7 kB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.814e-05/0.1823, allocations: 24.05 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.1823, allocations: 87.27 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of Backend: time 4.21e-07/0.1824, allocations: 0 / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.1828, allocations: 144.1 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003136/0.1832, allocations: 0.5551 MB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.003043/0.1862, allocations: 1.312 MB / 0.9039 GB, free: 60.44 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)