Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1864/0.1885, allocations: 80.84 MB / 0.6706 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003422/0.192, allocations: 1.409 MB / 0.672 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.1929, allocations: 366.7 kB / 0.6723 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.193, allocations: 0 / 0.6723 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.1931, allocations: 0 / 0.6723 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.079e-05/0.1932, allocations: 3.938 kB / 0.6723 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.1938, allocations: 115.6 kB / 0.6725 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.1939, allocations: 31.86 kB / 0.6725 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.194, allocations: 11.98 kB / 0.6725 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.1941, allocations: 7.984 kB / 0.6725 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.1941, allocations: 7.938 kB / 0.6725 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1941, allocations: 4 kB / 0.6725 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.1946, allocations: 279.6 kB / 0.6728 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.1946, allocations: 4 kB / 0.6728 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.1946, allocations: 11.94 kB / 0.6728 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1949, allocations: 107.8 kB / 0.6729 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1949, allocations: 0 / 0.6729 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1949, allocations: 0 / 0.6729 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.195, allocations: 3.938 kB / 0.6729 GB, free: 2.223 MB / 0.5137 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.0005393/0.1955, allocations: 375.3 kB / 0.6733 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1956, allocations: 8.031 kB / 0.6733 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.1956, allocations: 8.844 kB / 0.6733 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1958, allocations: 164.3 kB / 0.6734 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1958, allocations: 384 / 0.6734 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1958, allocations: 4.375 kB / 0.6734 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.196, allocations: 53.61 kB / 0.6735 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.196, allocations: 4 kB / 0.6735 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1961, allocations: 0 / 0.6735 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1961, allocations: 0 / 0.6735 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.1962, allocations: 35.95 kB / 0.6735 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1967, allocations: 252.9 kB / 0.6738 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1968, allocations: 42.55 kB / 0.6738 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.1969, allocations: 24.91 kB / 0.6738 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/0.1976, allocations: 449.5 kB / 0.6743 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1977, allocations: 38.56 kB / 0.6743 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1977, allocations: 0 / 0.6743 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003898/0.1981, allocations: 89.48 kB / 0.6744 GB, free: 456 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1981, allocations: 51.41 kB / 0.6744 GB, free: 392 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.1982, allocations: 105.8 kB / 0.6745 GB, free: 276 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1982, allocations: 29.83 kB / 0.6746 GB, free: 240 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.1983, allocations: 84.14 kB / 0.6746 GB, free: 152 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1983, allocations: 7.891 kB / 0.6747 GB, free: 144 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.1983, allocations: 13.72 kB / 0.6747 GB, free: 124 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1985, allocations: 318.8 kB / 0.675 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.1986, allocations: 15.98 kB / 0.675 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.1986, allocations: 15.98 kB / 0.675 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1988, allocations: 44.88 kB / 0.675 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1988, allocations: 256 / 0.675 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002221/0.199, allocations: 69.59 kB / 0.6751 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1991, allocations: 4 kB / 0.6751 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1991, allocations: 4 kB / 0.6751 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1991, allocations: 8.031 kB / 0.6751 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.1992, allocations: 8 kB / 0.6751 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1992, allocations: 7.922 kB / 0.6751 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1993, allocations: 4 kB / 0.6751 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1993, allocations: 0 / 0.6751 GB, free: 15.61 MB / 0.5294 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 7.252e-05/0.1993, allocations: 118.4 kB / 0.6753 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1994, allocations: 0 / 0.6753 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.1996, allocations: 85.11 kB / 0.6753 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1997, allocations: 0 / 0.6753 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1997, allocations: 3.938 kB / 0.6753 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1997, allocations: 0 / 0.6753 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1998, allocations: 165.6 kB / 0.6755 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1999, allocations: 0 / 0.6755 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.1999, allocations: 7.984 kB / 0.6755 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.1999, allocations: 4 kB / 0.6755 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1999, allocations: 0 / 0.6755 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2, allocations: 32 / 0.6755 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2, allocations: 4 kB / 0.6755 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.2002, allocations: 167.4 kB / 0.6757 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.2003, allocations: 81.09 kB / 0.6758 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2003, allocations: 4 kB / 0.6758 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.2004, allocations: 0 / 0.6758 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.2004, allocations: 19.95 kB / 0.6758 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2004, allocations: 0 / 0.6758 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.2005, allocations: 79.28 kB / 0.6759 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2005, allocations: 0 / 0.6759 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002312/0.2007, allocations: 12 kB / 0.6759 GB, free: 14.77 MB / 0.5294 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.0001766/0.2009, allocations: 115.2 kB / 0.676 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.2011, allocations: 43.91 kB / 0.676 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2012, allocations: 0 / 0.676 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.2013, allocations: 19.97 kB / 0.676 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2016, allocations: 4 kB / 0.676 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.2019, allocations: 118.1 kB / 0.6762 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2022, allocations: 0.6767 MB / 0.6768 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.2022, allocations: 12.11 kB / 0.6768 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.2022, allocations: 7.438 kB / 0.6768 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of SimCode: time 1.743e-06/0.2022, allocations: 0 / 0.6768 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of Templates: time 0.003585/0.2058, allocations: 0.7151 MB / 0.6775 GB, free: 13.01 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)