Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.42/1.42, 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.00117/0.00117, allocations: 187.3 kB / 327.3 MB, free: 2.234 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.543/1.543, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007511/0.0007514, allocations: 90.28 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002836, allocations: 11.94 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1971, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006827/0.1978, allocations: 318.4 kB / 0.9011 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004895/0.1983, allocations: 304.5 kB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-06/0.1983, allocations: 0 / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.1983, allocations: 0 / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.1984, allocations: 0 / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1987, allocations: 74.17 kB / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.335e-05/0.1987, allocations: 4 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.1988, allocations: 3.984 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.23e-05/0.1988, allocations: 0 / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.1988, allocations: 4 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1988, allocations: 0 / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.1992, allocations: 263.7 kB / 0.9018 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.142e-06/0.1992, allocations: 0 / 0.9018 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.1992, allocations: 25.7 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1993, allocations: 55.91 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1993, allocations: 0 / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1993, allocations: 0 / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1994, allocations: 4 kB / 0.9019 GB, free: 62.9 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.0002238/0.1996, allocations: 335.4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1996, allocations: 8.031 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.1997, allocations: 3.906 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.777e-05/0.1998, allocations: 167 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1998, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.1998, allocations: 0 / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.39e-05/0.1999, allocations: 29.64 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1999, allocations: 4 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1999, allocations: 0 / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1999, allocations: 0 / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.1999, allocations: 7.938 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.458e-05/0.2, allocations: 153.6 kB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.984e-05/0.2001, allocations: 18.61 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.113e-05/0.2001, allocations: 4.859 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/0.2005, allocations: 429.6 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.2005, allocations: 38.5 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.2005, allocations: 0 / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.2007, allocations: 29.7 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.2007, allocations: 51.41 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.847e-05/0.2007, allocations: 97.98 kB / 0.9032 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.2007, allocations: 29.69 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-06/0.2008, allocations: 80.14 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.2008, allocations: 0 / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.2008, allocations: 4 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.2008, allocations: 310.8 kB / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-06/0.2008, allocations: 0 / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.2009, allocations: 4 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.439e-05/0.2009, allocations: 3.938 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2009, allocations: 8.016 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.909e-05/0.2009, allocations: 33.7 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.201, allocations: 4 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.201, allocations: 0 / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.201, allocations: 3.984 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.201, allocations: 0 / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.201, allocations: 4 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.2011, allocations: 0 / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2011, allocations: 0 / 0.9036 GB, free: 60.76 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 (1): * Single equations (assignments): 1 * 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.2e-05/0.2011, allocations: 113.9 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.2011, allocations: 3.953 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.2012, allocations: 44.75 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2012, allocations: 0 / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2012, allocations: 3.984 kB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2012, allocations: 3.938 kB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.134e-05/0.2013, allocations: 141.7 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2013, allocations: 3.938 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.2013, allocations: 11.98 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2013, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.2013, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2013, allocations: 7.969 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2013, allocations: 0 / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.089e-05/0.2014, allocations: 57.14 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.2014, allocations: 81.05 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.2015, allocations: 3.953 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.2015, allocations: 4.031 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.2015, allocations: 7.984 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2015, allocations: 0 / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.365e-05/0.2015, allocations: 75.28 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2015, allocations: 0 / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001837/0.2017, allocations: 12 kB / 0.9042 GB, free: 60.09 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 (1): * Single equations (assignments): 1 * 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.0001521/0.2019, allocations: 115.2 kB / 0.9043 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.615e-05/0.2019, allocations: 8 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2019, allocations: 0 / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.202, allocations: 3.984 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.2021, allocations: 1.5 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001505/0.2022, allocations: 104.3 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.2024, allocations: 0.6692 MB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-06/0.2024, allocations: 7.438 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2024, allocations: 0 / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.001537/0.2039, allocations: 461.1 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)