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.2175/0.2194, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002816/0.2223, allocations: 0.6112 MB / 0.5903 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008651/0.2232, allocations: 346.8 kB / 0.5906 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.2232, allocations: 4 kB / 0.5906 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.2233, allocations: 0 / 0.5906 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.2233, allocations: 0 / 0.5906 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.2239, allocations: 75.78 kB / 0.5907 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.2239, allocations: 0 / 0.5907 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.224, allocations: 4 kB / 0.5907 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.224, allocations: 4 kB / 0.5907 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.2241, allocations: 0 / 0.5907 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2241, allocations: 4 kB / 0.5907 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.2246, allocations: 271.7 kB / 0.591 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.2246, allocations: 3.984 kB / 0.591 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.2246, allocations: 0 / 0.591 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2248, allocations: 83.86 kB / 0.591 GB, free: 5.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2248, allocations: 0 / 0.591 GB, free: 5.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2248, allocations: 3.938 kB / 0.591 GB, free: 5.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2249, allocations: 0 / 0.591 GB, free: 5.723 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.0004424/0.2253, allocations: 339 kB / 0.5914 GB, free: 5.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.2254, allocations: 8.031 kB / 0.5914 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.2255, allocations: 4.938 kB / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2256, allocations: 168.4 kB / 0.5915 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2256, allocations: 384 / 0.5915 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2256, allocations: 4.359 kB / 0.5915 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2258, allocations: 29.83 kB / 0.5916 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2258, allocations: 0 / 0.5916 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2258, allocations: 4 kB / 0.5916 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2258, allocations: 3.938 kB / 0.5916 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.2259, allocations: 0 / 0.5916 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.226, allocations: 153.7 kB / 0.5917 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.2261, allocations: 18.61 kB / 0.5918 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.2261, allocations: 4.859 kB / 0.5918 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.2267, allocations: 425.6 kB / 0.5922 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2267, allocations: 38.5 kB / 0.5922 GB, free: 4.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2268, allocations: 0 / 0.5922 GB, free: 4.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001745/0.2269, allocations: 37.64 kB / 0.5922 GB, free: 4.254 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.227, allocations: 51.41 kB / 0.5923 GB, free: 4.191 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.2271, allocations: 89.86 kB / 0.5924 GB, free: 4.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.2271, allocations: 25.7 kB / 0.5924 GB, free: 4.062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.2271, allocations: 88.12 kB / 0.5925 GB, free: 3.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.2272, allocations: 8.125 kB / 0.5925 GB, free: 3.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.2272, allocations: 17.84 kB / 0.5925 GB, free: 3.941 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2274, allocations: 314.8 kB / 0.5928 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.2274, allocations: 0 / 0.5928 GB, free: 3.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-06/0.2275, allocations: 0 / 0.5928 GB, free: 3.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.2275, allocations: 12.8 kB / 0.5928 GB, free: 3.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2275, allocations: 0 / 0.5928 GB, free: 3.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.923e-05/0.2276, allocations: 41.64 kB / 0.5929 GB, free: 3.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2276, allocations: 16.02 kB / 0.5929 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2276, allocations: 0 / 0.5929 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2276, allocations: 0 / 0.5929 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.2277, allocations: 0 / 0.5929 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2277, allocations: 4 kB / 0.5929 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.2277, allocations: 0 / 0.5929 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2277, allocations: 0 / 0.5929 GB, free: 3.543 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 7.721e-05/0.2278, allocations: 106.7 kB / 0.593 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.2278, allocations: 3.938 kB / 0.593 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.228, allocations: 52.75 kB / 0.593 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.228, allocations: 0 / 0.593 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.228, allocations: 0 / 0.593 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.228, allocations: 0 / 0.593 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.2281, allocations: 141.7 kB / 0.5932 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2281, allocations: 0 / 0.5932 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.2281, allocations: 4 kB / 0.5932 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.2281, allocations: 7.922 kB / 0.5932 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2282, allocations: 4 kB / 0.5932 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2282, allocations: 0 / 0.5932 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2282, allocations: 4.031 kB / 0.5932 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.092e-05/0.2283, allocations: 57.14 kB / 0.5932 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.2283, allocations: 81.05 kB / 0.5933 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2283, allocations: 7.922 kB / 0.5933 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/0.2283, allocations: 0 / 0.5933 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.2284, allocations: 4 kB / 0.5933 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.2284, allocations: 0 / 0.5933 GB, free: 2.977 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.59e-05/0.2284, allocations: 79.31 kB / 0.5934 GB, free: 2.898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2284, allocations: 0 / 0.5934 GB, free: 2.898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.2286, allocations: 8 kB / 0.5934 GB, free: 2.891 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.0001778/0.2288, allocations: 111.2 kB / 0.5935 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.2289, allocations: 7.984 kB / 0.5935 GB, free: 2.766 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2289, allocations: 0 / 0.5935 GB, free: 2.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-06/0.2289, allocations: 4 kB / 0.5935 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.229, allocations: 4.125 kB / 0.5935 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/0.2292, allocations: 82.64 kB / 0.5936 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.2295, allocations: 0.6808 MB / 0.5943 GB, free: 1.941 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.755e-05/0.2295, allocations: 0 / 0.5943 GB, free: 1.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.2296, allocations: 11.42 kB / 0.5943 GB, free: 1.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2296, allocations: 0 / 0.5943 GB, free: 1.93 MB / 446.1 MB Notification: Performance of Templates: time 0.00245/0.232, allocations: 444 kB / 0.5947 GB, free: 1.508 MB / 446.1 MB 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)