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.2375/0.2394, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003629/0.2431, allocations: 1.48 MB / 0.5911 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.2441, allocations: 387.6 kB / 0.5915 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.2442, allocations: 4 kB / 0.5915 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.02e-05/0.2443, allocations: 3.938 kB / 0.5915 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.2443, allocations: 0 / 0.5915 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.2449, allocations: 75.78 kB / 0.5916 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.245, allocations: 27.97 kB / 0.5916 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.2451, allocations: 7.938 kB / 0.5916 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.2451, allocations: 15.92 kB / 0.5916 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.2452, allocations: 7.938 kB / 0.5916 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2452, allocations: 7.938 kB / 0.5916 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.2456, allocations: 275.6 kB / 0.5919 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.2457, allocations: 8 kB / 0.5919 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.2457, allocations: 3.938 kB / 0.5919 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2459, allocations: 108 kB / 0.592 GB, free: 4.707 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.246, allocations: 0 / 0.592 GB, free: 4.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.246, allocations: 0 / 0.592 GB, free: 4.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.246, allocations: 0 / 0.592 GB, free: 4.707 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.0006249/0.2466, allocations: 370.9 kB / 0.5924 GB, free: 4.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2467, allocations: 12.03 kB / 0.5924 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2468, allocations: 8.828 kB / 0.5924 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.247, allocations: 164.4 kB / 0.5925 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.247, allocations: 4.375 kB / 0.5925 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.247, allocations: 384 / 0.5925 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2472, allocations: 53.8 kB / 0.5926 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2473, allocations: 0 / 0.5926 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2473, allocations: 0 / 0.5926 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2473, allocations: 0 / 0.5926 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.2475, allocations: 39.91 kB / 0.5926 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.2479, allocations: 248.9 kB / 0.5929 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.2481, allocations: 42.55 kB / 0.5929 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.2482, allocations: 24.91 kB / 0.5929 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008015/0.249, allocations: 457.4 kB / 0.5934 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2491, allocations: 38.56 kB / 0.5934 GB, free: 3.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.2491, allocations: 0 / 0.5934 GB, free: 3.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004367/0.2495, allocations: 85.48 kB / 0.5935 GB, free: 2.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.2496, allocations: 55.41 kB / 0.5935 GB, free: 2.867 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2497, allocations: 105.8 kB / 0.5936 GB, free: 2.754 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2497, allocations: 25.7 kB / 0.5937 GB, free: 2.723 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.2498, allocations: 92.2 kB / 0.5938 GB, free: 2.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.2498, allocations: 3.906 kB / 0.5938 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.2499, allocations: 21.7 kB / 0.5938 GB, free: 2.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.25, allocations: 314.8 kB / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.2501, allocations: 15.98 kB / 0.5941 GB, free: 2.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.2502, allocations: 15.98 kB / 0.5941 GB, free: 2.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2504, allocations: 48.81 kB / 0.5942 GB, free: 2.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2504, allocations: 0 / 0.5942 GB, free: 2.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002516/0.2506, allocations: 65.67 kB / 0.5942 GB, free: 2.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.2507, allocations: 7.984 kB / 0.5942 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2507, allocations: 3.938 kB / 0.5942 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2507, allocations: 256 / 0.5942 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.2508, allocations: 8 kB / 0.5942 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2508, allocations: 8.031 kB / 0.5942 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.2509, allocations: 7.984 kB / 0.5943 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2509, allocations: 0 / 0.5943 GB, free: 2.094 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 0.0001009/0.251, allocations: 114.7 kB / 0.5944 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.2511, allocations: 4 kB / 0.5944 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.2513, allocations: 85.02 kB / 0.5944 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2514, allocations: 0 / 0.5944 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2514, allocations: 0 / 0.5944 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2514, allocations: 0 / 0.5944 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.2516, allocations: 161.6 kB / 0.5946 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2516, allocations: 0 / 0.5946 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.2517, allocations: 11.98 kB / 0.5946 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2517, allocations: 0 / 0.5946 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2517, allocations: 0 / 0.5946 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.2517, allocations: 0 / 0.5946 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2517, allocations: 3.938 kB / 0.5946 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.252, allocations: 179.4 kB / 0.5948 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2521, allocations: 77.11 kB / 0.5949 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2521, allocations: 3.984 kB / 0.5949 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.2522, allocations: 4 kB / 0.5949 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.2522, allocations: 0 / 0.5949 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2522, allocations: 8.016 kB / 0.5949 GB, free: 1.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.2523, allocations: 87.28 kB / 0.595 GB, free: 1.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2523, allocations: 0 / 0.595 GB, free: 1.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.2525, allocations: 12 kB / 0.595 GB, free: 1.262 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.00021/0.2528, allocations: 107.2 kB / 0.5951 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.253, allocations: 35.97 kB / 0.5951 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.253, allocations: 4.062 kB / 0.5951 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.2531, allocations: 23.92 kB / 0.5951 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2535, allocations: 7.922 kB / 0.5951 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.2538, allocations: 115.2 kB / 0.5953 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2541, allocations: 0.6731 MB / 0.5959 GB, free: 244 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.17e-05/0.2542, allocations: 8.047 kB / 0.5959 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.2542, allocations: 11.44 kB / 0.5959 GB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 1.813e-06/0.2542, allocations: 0 / 0.5959 GB, free: 224 kB / 446.1 MB Notification: Performance of Templates: time 0.003746/0.2579, allocations: 0.6564 MB / 0.5966 GB, free: 15.57 MB / 462.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)