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.2453/0.2476, allocations: 80.84 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001943/0.2496, allocations: 0.5539 MB / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.2503, allocations: 315.2 kB / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.2503, allocations: 0 / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.2504, allocations: 4 kB / 0.6715 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.168e-06/0.2504, allocations: 0 / 0.6715 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.2509, allocations: 111.6 kB / 0.6716 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.2509, allocations: 8 kB / 0.6716 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.251, allocations: 3.938 kB / 0.6716 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.251, allocations: 0 / 0.6716 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.375e-05/0.251, allocations: 0 / 0.6716 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.251, allocations: 0 / 0.6716 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.2515, allocations: 271.7 kB / 0.6719 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.2515, allocations: 11.97 kB / 0.6719 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.2515, allocations: 0 / 0.6719 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.2517, allocations: 75.88 kB / 0.6719 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2517, allocations: 0 / 0.6719 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.779e-06/0.2517, allocations: 3.984 kB / 0.672 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.2517, allocations: 0 / 0.672 GB, free: 0.6602 MB / 0.4981 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.0003839/0.2521, allocations: 339.5 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2522, allocations: 12.03 kB / 0.6723 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.2522, allocations: 4.875 kB / 0.6723 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2524, allocations: 164.4 kB / 0.6724 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2524, allocations: 384 / 0.6724 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2524, allocations: 384 / 0.6724 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2525, allocations: 33.64 kB / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2525, allocations: 0 / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2525, allocations: 0 / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2525, allocations: 0 / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.2526, allocations: 0 / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.2528, allocations: 153.7 kB / 0.6726 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.698e-05/0.2528, allocations: 22.52 kB / 0.6726 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.2529, allocations: 8.953 kB / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.2534, allocations: 425.4 kB / 0.6731 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2534, allocations: 38.56 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.2534, allocations: 0 / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.2536, allocations: 29.7 kB / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2537, allocations: 63.33 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.903e-05/0.2537, allocations: 89.86 kB / 0.6733 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2537, allocations: 25.7 kB / 0.6733 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.2537, allocations: 80.14 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.2538, allocations: 4 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.2538, allocations: 9.844 kB / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2539, allocations: 314.8 kB / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.2539, allocations: 0 / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.254, allocations: 4 kB / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.254, allocations: 8.859 kB / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.254, allocations: 4 kB / 0.6737 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.673e-05/0.2541, allocations: 37.62 kB / 0.6737 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2541, allocations: 7.938 kB / 0.6737 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2541, allocations: 8.031 kB / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2541, allocations: 0 / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.527e-05/0.2542, allocations: 4 kB / 0.6738 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2542, allocations: 0 / 0.6738 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.2542, allocations: 0 / 0.6738 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2542, allocations: 3.938 kB / 0.6738 GB, free: 14.49 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.2543, allocations: 113.8 kB / 0.6739 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.2543, allocations: 3.938 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.2544, allocations: 52.7 kB / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2544, allocations: 0 / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2544, allocations: 0 / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2544, allocations: 0 / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2545, allocations: 145.7 kB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2545, allocations: 3.984 kB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.2546, allocations: 3.938 kB / 0.6741 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.2546, allocations: 3.938 kB / 0.6741 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2546, allocations: 8 kB / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2546, allocations: 0 / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2546, allocations: 0 / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.374e-05/0.2547, allocations: 61.16 kB / 0.6741 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.2548, allocations: 85.03 kB / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.2548, allocations: 4 kB / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.2548, allocations: 0 / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.2548, allocations: 0 / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.2548, allocations: 0 / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.2549, allocations: 75.31 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2549, allocations: 4 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001941/0.2551, allocations: 8 kB / 0.6743 GB, free: 13.82 MB / 0.5137 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 (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.0002003/0.2553, allocations: 119.2 kB / 0.6744 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.2554, allocations: 11.94 kB / 0.6744 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2554, allocations: 0 / 0.6744 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.2554, allocations: 0 / 0.6744 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.2556, allocations: 4 kB / 0.6744 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.2558, allocations: 88.38 kB / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2561, allocations: 0.6729 MB / 0.6752 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.2561, allocations: 0 / 0.6752 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.2561, allocations: 7.438 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.203e-06/0.2561, allocations: 0 / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.002799/0.2589, allocations: 452.4 kB / 0.6756 GB, free: 12.42 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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)