Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.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.1944/0.1951, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007646/0.196, allocations: 292.8 kB / 0.5944 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007217/0.1967, allocations: 327.1 kB / 0.5947 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.173e-05/0.1967, allocations: 0 / 0.5947 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.959e-06/0.1967, allocations: 3.938 kB / 0.5947 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.1968, allocations: 0 / 0.5947 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1971, allocations: 71.86 kB / 0.5948 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.951e-05/0.1972, allocations: 4 kB / 0.5948 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.1972, allocations: 3.984 kB / 0.5948 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.1973, allocations: 3.938 kB / 0.5948 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.1973, allocations: 4 kB / 0.5948 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1973, allocations: 0 / 0.5948 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.1977, allocations: 271.7 kB / 0.5951 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.1977, allocations: 0 / 0.5951 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.1978, allocations: 25.7 kB / 0.5951 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1979, allocations: 91.84 kB / 0.5952 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1979, allocations: 0 / 0.5952 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1979, allocations: 0 / 0.5952 GB, free: 4.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1979, allocations: 0 / 0.5952 GB, free: 4.477 MB / 446.1 MB 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.0002908/0.1982, allocations: 335.6 kB / 0.5955 GB, free: 4.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1983, allocations: 8.031 kB / 0.5955 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.1984, allocations: 0.9375 kB / 0.5955 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.1985, allocations: 164.3 kB / 0.5957 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1985, allocations: 384 / 0.5957 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1985, allocations: 8.375 kB / 0.5957 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.242e-05/0.1986, allocations: 37.75 kB / 0.5957 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1986, allocations: 0 / 0.5957 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1986, allocations: 0 / 0.5957 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1986, allocations: 3.938 kB / 0.5957 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.047e-05/0.1987, allocations: 4 kB / 0.5957 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.1988, allocations: 141.7 kB / 0.5958 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.556e-05/0.1988, allocations: 18.67 kB / 0.5959 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.1989, allocations: 16.84 kB / 0.5959 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/0.1994, allocations: 429.5 kB / 0.5963 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1994, allocations: 38.44 kB / 0.5963 GB, free: 3.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1994, allocations: 0 / 0.5963 GB, free: 3.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.1996, allocations: 33.7 kB / 0.5964 GB, free: 3.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1996, allocations: 51.41 kB / 0.5964 GB, free: 2.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.042e-05/0.1996, allocations: 89.86 kB / 0.5965 GB, free: 2.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1997, allocations: 29.7 kB / 0.5965 GB, free: 2.809 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.1997, allocations: 80.14 kB / 0.5966 GB, free: 2.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1997, allocations: 8.125 kB / 0.5966 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.1998, allocations: 13.72 kB / 0.5966 GB, free: 2.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1999, allocations: 310.8 kB / 0.5969 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.1999, allocations: 4.109 kB / 0.5969 GB, free: 2.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.2, allocations: 8 kB / 0.5969 GB, free: 2.375 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.2, allocations: 8.797 kB / 0.5969 GB, free: 2.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2, allocations: 0 / 0.5969 GB, free: 2.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.174e-05/0.2001, allocations: 33.7 kB / 0.597 GB, free: 2.324 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2001, allocations: 10.44 kB / 0.597 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2001, allocations: 0 / 0.597 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2002, allocations: 0 / 0.597 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.052e-05/0.2002, allocations: 4 kB / 0.597 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.2002, allocations: 4.094 kB / 0.597 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-06/0.2002, allocations: 0 / 0.597 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2002, allocations: 3.984 kB / 0.597 GB, free: 2.305 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/0.2003, allocations: 110.7 kB / 0.5971 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.2003, allocations: 7.938 kB / 0.5971 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.2004, allocations: 36.77 kB / 0.5971 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2004, allocations: 0 / 0.5971 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2004, allocations: 0 / 0.5971 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2005, allocations: 4.031 kB / 0.5971 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.312e-05/0.2005, allocations: 157.6 kB / 0.5973 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2006, allocations: 0 / 0.5973 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.2006, allocations: 7.938 kB / 0.5973 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2006, allocations: 3.938 kB / 0.5973 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.2006, allocations: 0 / 0.5973 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2006, allocations: 0 / 0.5973 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2006, allocations: 4 kB / 0.5973 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.27e-05/0.2007, allocations: 61.06 kB / 0.5974 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.2007, allocations: 81.05 kB / 0.5974 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.2007, allocations: 4 kB / 0.5974 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.2008, allocations: 0 / 0.5974 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.2008, allocations: 4 kB / 0.5974 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.2008, allocations: 0 / 0.5974 GB, free: 1.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.2008, allocations: 75.28 kB / 0.5975 GB, free: 1.656 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2008, allocations: 0 / 0.5975 GB, free: 1.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001906/0.201, allocations: 11.98 kB / 0.5975 GB, free: 1.645 MB / 446.1 MB 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 (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.0001492/0.2012, allocations: 111.3 kB / 0.5976 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.189e-05/0.2012, allocations: 4 kB / 0.5976 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2012, allocations: 0 / 0.5976 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.675e-06/0.2013, allocations: 4 kB / 0.5976 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.2014, allocations: 3.938 kB / 0.5976 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.2016, allocations: 86.69 kB / 0.5977 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.2018, allocations: 0.6694 MB / 0.5984 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.427e-05/0.2018, allocations: 8 kB / 0.5984 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.2019, allocations: 7.438 kB / 0.5984 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2019, allocations: 3.938 kB / 0.5984 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of Templates: time 0.002082/0.204, allocations: 449.1 kB / 0.5988 GB, free: 272 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: