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.5593/0.5616, allocations: 80.82 MB / 0.5904 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00302/0.5646, allocations: 1.406 MB / 0.5918 GB, free: 21.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.5654, allocations: 362.1 kB / 0.5921 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.5655, allocations: 0 / 0.5921 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.5655, allocations: 3.984 kB / 0.5921 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.5656, allocations: 10.12 kB / 0.5921 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.566, allocations: 121.2 kB / 0.5923 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.5661, allocations: 18.25 kB / 0.5923 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.5662, allocations: 10.7 kB / 0.5923 GB, free: 20.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.5663, allocations: 7.562 kB / 0.5923 GB, free: 20.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.5663, allocations: 19.64 kB / 0.5923 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.5663, allocations: 6.062 kB / 0.5923 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.5667, allocations: 275.7 kB / 0.5926 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.5667, allocations: 7.922 kB / 0.5926 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.5667, allocations: 15.92 kB / 0.5926 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.5669, allocations: 95.84 kB / 0.5927 GB, free: 20.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5669, allocations: 1.188 kB / 0.5927 GB, free: 20.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5669, allocations: 3.984 kB / 0.5927 GB, free: 20.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.5669, allocations: 0 / 0.5927 GB, free: 20.47 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.0004421/0.5674, allocations: 369.1 kB / 0.593 GB, free: 20.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5674, allocations: 8.031 kB / 0.5931 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.5675, allocations: 8.844 kB / 0.5931 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/0.5676, allocations: 169 kB / 0.5932 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.5676, allocations: 4.359 kB / 0.5932 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.5676, allocations: 9.062 kB / 0.5932 GB, free: 19.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.5678, allocations: 54.89 kB / 0.5933 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5678, allocations: 0 / 0.5933 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5678, allocations: 1.656 kB / 0.5933 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5679, allocations: 3.984 kB / 0.5933 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.568, allocations: 35.91 kB / 0.5933 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.5683, allocations: 251.7 kB / 0.5936 GB, free: 19.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5684, allocations: 34.56 kB / 0.5936 GB, free: 19.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.5685, allocations: 28.69 kB / 0.5936 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.5691, allocations: 453.5 kB / 0.5941 GB, free: 18.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5691, allocations: 38.25 kB / 0.5941 GB, free: 18.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.5691, allocations: 0 / 0.5941 GB, free: 18.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000371/0.5695, allocations: 89.48 kB / 0.5942 GB, free: 18.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5695, allocations: 51.41 kB / 0.5942 GB, free: 18.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.5696, allocations: 105.8 kB / 0.5943 GB, free: 18.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.5696, allocations: 32.86 kB / 0.5944 GB, free: 18.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.5697, allocations: 80.14 kB / 0.5944 GB, free: 18.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.5697, allocations: 11.89 kB / 0.5945 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.5697, allocations: 13.72 kB / 0.5945 GB, free: 18.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.5698, allocations: 318.8 kB / 0.5948 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.5699, allocations: 20.11 kB / 0.5948 GB, free: 18.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.57, allocations: 15.98 kB / 0.5948 GB, free: 18.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.5701, allocations: 40.77 kB / 0.5948 GB, free: 17.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5701, allocations: 0 / 0.5948 GB, free: 17.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.5703, allocations: 69.66 kB / 0.5949 GB, free: 17.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5703, allocations: 8.094 kB / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5703, allocations: 3.938 kB / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5704, allocations: 4 kB / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.5704, allocations: 7.984 kB / 0.5949 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5705, allocations: 0 / 0.5949 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.5705, allocations: 7.984 kB / 0.5949 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.5705, allocations: 0 / 0.5949 GB, free: 17.87 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.88e-05/0.5706, allocations: 113.8 kB / 0.595 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.5706, allocations: 0 / 0.595 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.5708, allocations: 85.11 kB / 0.5951 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5708, allocations: 0 / 0.5951 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5709, allocations: 0 / 0.5951 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5709, allocations: 0 / 0.5951 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.571, allocations: 169.5 kB / 0.5953 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.571, allocations: 0 / 0.5953 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.5711, allocations: 16.17 kB / 0.5953 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5711, allocations: 8.031 kB / 0.5953 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.5711, allocations: 4 kB / 0.5953 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5711, allocations: 0 / 0.5953 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5711, allocations: 0 / 0.5953 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.5713, allocations: 167.3 kB / 0.5955 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.5713, allocations: 77.11 kB / 0.5955 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.5714, allocations: 12.03 kB / 0.5956 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.5714, allocations: 7.984 kB / 0.5956 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.5715, allocations: 0 / 0.5956 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.5715, allocations: 0 / 0.5956 GB, free: 17.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.5715, allocations: 87.27 kB / 0.5957 GB, free: 17.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5715, allocations: 0 / 0.5957 GB, free: 17.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.5718, allocations: 12 kB / 0.5957 GB, free: 17.03 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 (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.0001402/0.5719, allocations: 103.2 kB / 0.5958 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.5721, allocations: 47.95 kB / 0.5958 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5721, allocations: 0 / 0.5958 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.5722, allocations: 23.92 kB / 0.5958 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.5725, allocations: 3.938 kB / 0.5958 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.5728, allocations: 105.6 kB / 0.5959 GB, free: 16.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.5729, allocations: 0.6806 MB / 0.5966 GB, free: 16.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.232e-05/0.5729, allocations: 7.938 kB / 0.5966 GB, free: 16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.5729, allocations: 7.438 kB / 0.5966 GB, free: 16 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.573, allocations: 0 / 0.5966 GB, free: 16 MB / 446.1 MB Notification: Performance of Templates: time 0.002809/0.5758, allocations: 0.7226 MB / 0.5973 GB, free: 15.29 MB / 446.1 MB 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)