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.5082/0.509, allocations: 82.21 MB / 0.5934 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001663/0.5107, allocations: 1.13 MB / 0.5945 GB, free: 20.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004441/0.5112, allocations: 335.9 kB / 0.5948 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.851e-05/0.5112, allocations: 0 / 0.5948 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.753e-06/0.5112, allocations: 5.688 kB / 0.5948 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.5112, allocations: 3.984 kB / 0.5948 GB, free: 20.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.5115, allocations: 71.5 kB / 0.5949 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.057e-05/0.5115, allocations: 12.64 kB / 0.5949 GB, free: 20.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.5116, allocations: 4.906 kB / 0.5949 GB, free: 20.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.5116, allocations: 15.92 kB / 0.5949 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.578e-05/0.5116, allocations: 11.92 kB / 0.5949 GB, free: 20.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.5116, allocations: 2.094 kB / 0.5949 GB, free: 20.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.512, allocations: 255.7 kB / 0.5952 GB, free: 19.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-06/0.512, allocations: 0 / 0.5952 GB, free: 19.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.512, allocations: 33.7 kB / 0.5952 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.5121, allocations: 74.39 kB / 0.5953 GB, free: 19.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.5121, allocations: 1.094 kB / 0.5953 GB, free: 19.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5121, allocations: 0 / 0.5953 GB, free: 19.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.5121, allocations: 0 / 0.5953 GB, free: 19.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004652/0.5126, allocations: 365.1 kB / 0.5956 GB, free: 19.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5126, allocations: 8.031 kB / 0.5956 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.5127, allocations: 5.312 kB / 0.5956 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.5129, allocations: 170.9 kB / 0.5958 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5129, allocations: 11.88 kB / 0.5958 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.5129, allocations: 4.562 kB / 0.5958 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.5131, allocations: 58.91 kB / 0.5959 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5131, allocations: 0.5938 kB / 0.5959 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.5131, allocations: 0 / 0.5959 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5131, allocations: 1.688 kB / 0.5959 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.5133, allocations: 41.34 kB / 0.5959 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.5137, allocations: 252.1 kB / 0.5961 GB, free: 18.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.5138, allocations: 46.45 kB / 0.5962 GB, free: 18.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005893/0.5144, allocations: 468.6 kB / 0.5966 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.5145, allocations: 31.66 kB / 0.5967 GB, free: 18.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5145, allocations: 0 / 0.5967 GB, free: 18.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003798/0.5149, allocations: 101.5 kB / 0.5968 GB, free: 17.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.5149, allocations: 51.41 kB / 0.5968 GB, free: 17.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.515, allocations: 110.7 kB / 0.5969 GB, free: 17.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.515, allocations: 27.64 kB / 0.5969 GB, free: 17.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.515, allocations: 84.14 kB / 0.597 GB, free: 17.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.5151, allocations: 3.906 kB / 0.597 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.5151, allocations: 0 / 0.597 GB, free: 17.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.5151, allocations: 316.1 kB / 0.5973 GB, free: 17.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.5152, allocations: 24.56 kB / 0.5973 GB, free: 17.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.5153, allocations: 21.2 kB / 0.5974 GB, free: 17.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.5154, allocations: 21.73 kB / 0.5974 GB, free: 17.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5154, allocations: 5.188 kB / 0.5974 GB, free: 17.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.5156, allocations: 80.8 kB / 0.5975 GB, free: 17.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.5156, allocations: 4 kB / 0.5975 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5156, allocations: 0 / 0.5975 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5156, allocations: 0 / 0.5975 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.5157, allocations: 21.39 kB / 0.5975 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5157, allocations: 0 / 0.5975 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.5158, allocations: 4 kB / 0.5975 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.5158, allocations: 7 kB / 0.5975 GB, free: 17.13 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 (2): * Single equations (assignments): 2 * 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.999e-05/0.5158, allocations: 113.8 kB / 0.5976 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.5159, allocations: 11.84 kB / 0.5976 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.5161, allocations: 93.39 kB / 0.5977 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5161, allocations: 0 / 0.5977 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5161, allocations: 0 / 0.5977 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5161, allocations: 256 / 0.5977 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.5162, allocations: 157.7 kB / 0.5979 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5162, allocations: 4 kB / 0.5979 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.5163, allocations: 12 kB / 0.5979 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5163, allocations: 0 / 0.5979 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.5163, allocations: 11.92 kB / 0.5979 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.5163, allocations: 0 / 0.5979 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5163, allocations: 3.984 kB / 0.5979 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.5165, allocations: 175.5 kB / 0.5981 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.5166, allocations: 85 kB / 0.5981 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.5166, allocations: 0 / 0.5981 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.5167, allocations: 11.95 kB / 0.5982 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.5167, allocations: 3.984 kB / 0.5982 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5167, allocations: 0 / 0.5982 GB, free: 16.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.268e-05/0.5168, allocations: 83.28 kB / 0.5982 GB, free: 16.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5168, allocations: 0 / 0.5982 GB, free: 16.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.517, allocations: 23.97 kB / 0.5983 GB, free: 16.26 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 (2): * Single equations (assignments): 2 * 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.0001261/0.5171, allocations: 111.2 kB / 0.5984 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.5173, allocations: 47.91 kB / 0.5984 GB, free: 16.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5173, allocations: 8.062 kB / 0.5984 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.5174, allocations: 23.97 kB / 0.5984 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.5176, allocations: 4 kB / 0.5984 GB, free: 16.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.5179, allocations: 112.6 kB / 0.5986 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.518, allocations: 0.681 MB / 0.5992 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.265e-05/0.518, allocations: 4 kB / 0.5992 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.518, allocations: 7.438 kB / 0.5992 GB, free: 15.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.518, allocations: 0 / 0.5992 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Templates: time 0.002596/0.5206, allocations: 0.6155 MB / 0.5998 GB, free: 14.59 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: