Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009965, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 188.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 292.3 MB / 0.5485 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 68 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1912, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002727/0.1939, allocations: 1.499 MB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007008/0.1947, allocations: 384.7 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1947, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.1948, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.1948, allocations: 4 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.1953, allocations: 110.4 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.725e-05/0.1954, allocations: 19.94 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.1955, allocations: 11.92 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.1955, allocations: 8 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.757e-05/0.1956, allocations: 15.92 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1956, allocations: 0 / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.196, allocations: 271.7 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.196, allocations: 15.97 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.196, allocations: 7.938 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1962, allocations: 107.8 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1962, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1962, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1963, allocations: 7.938 kB / 0.7852 GB, free: 11.49 MB / 0.6075 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.0004781/0.1967, allocations: 359.7 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1968, allocations: 8.031 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.1968, allocations: 4.875 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1969, allocations: 176.3 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.197, allocations: 384 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.197, allocations: 384 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1971, allocations: 50.23 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1972, allocations: 192 / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1972, allocations: 7.938 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1972, allocations: 4 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1973, allocations: 35.91 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.1976, allocations: 249 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1978, allocations: 38.5 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.1979, allocations: 28.89 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/0.1985, allocations: 457.5 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1986, allocations: 34.56 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1986, allocations: 3.938 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.1989, allocations: 85.64 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.199, allocations: 51.41 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.199, allocations: 105.8 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1991, allocations: 25.7 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.1991, allocations: 91.98 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.1991, allocations: 0 / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1992, allocations: 21.84 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1993, allocations: 314.8 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.1994, allocations: 19.98 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.1995, allocations: 11.98 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.1996, allocations: 48.81 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1996, allocations: 0 / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002082/0.1998, allocations: 73.52 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1998, allocations: 4 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1999, allocations: 7.969 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1999, allocations: 4 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.2, allocations: 4 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2, allocations: 0 / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.2, allocations: 12.27 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2, allocations: 7.938 kB / 0.7875 GB, free: 8.871 MB / 0.6075 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.945e-05/0.2001, allocations: 113.8 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.2002, allocations: 0 / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2004, allocations: 81.11 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2004, allocations: 3.984 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2004, allocations: 3.969 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2004, allocations: 4 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.2006, allocations: 161.6 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2006, allocations: 0 / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.2006, allocations: 7.984 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2006, allocations: 0 / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2007, allocations: 8 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2007, allocations: 0 / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2007, allocations: 0 / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.2009, allocations: 171.3 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.2009, allocations: 77.11 kB / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.201, allocations: 4 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.201, allocations: 7.984 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.2011, allocations: 4 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2011, allocations: 0 / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.2011, allocations: 83.27 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2011, allocations: 4.031 kB / 0.7882 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002257/0.2014, allocations: 20 kB / 0.7882 GB, free: 8.027 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.2015, allocations: 107.2 kB / 0.7883 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.2017, allocations: 35.97 kB / 0.7883 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2017, allocations: 0 / 0.7883 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.2018, allocations: 27.98 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2021, allocations: 7.922 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.2024, allocations: 113.5 kB / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2026, allocations: 0.6768 MB / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.2026, allocations: 0 / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.2026, allocations: 11.44 kB / 0.7891 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2026, allocations: 4.062 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of Templates: time 0.002405/0.205, allocations: 0.6628 MB / 0.7898 GB, free: 6.328 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)