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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7105/0.7105, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00116/0.00116, allocations: 174.2 kB / 176.9 MB, free: 2.238 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.202/1.202, allocations: 170.5 MB / 379.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001545/0.001545, allocations: 113.6 kB / 450 MB, free: 5.852 MB / 346.7 MB [/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.4464/0.4465, allocations: 73.39 MB / 0.6736 GB, free: 47.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.5752, allocations: 102 MB / 0.7732 GB, free: 14.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.5754, allocations: 71.95 kB / 0.7733 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.5878, allocations: 4.296 MB / 0.7775 GB, free: 10.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5879, allocations: 0 / 0.7775 GB, free: 10.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.5879, allocations: 5.312 kB / 0.7775 GB, free: 10.34 MB / 490.7 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.0004063/0.5883, allocations: 362.4 kB / 0.7779 GB, free: 9.938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5884, allocations: 8.031 kB / 0.7779 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.5884, allocations: 5.859 kB / 0.7779 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.5886, allocations: 180 kB / 0.778 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.5886, allocations: 0 / 0.778 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.5886, allocations: 3.984 kB / 0.778 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5887, allocations: 41.69 kB / 0.7781 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5887, allocations: 0 / 0.7781 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5887, allocations: 7.609 kB / 0.7781 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5888, allocations: 0 / 0.7781 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.5888, allocations: 12 kB / 0.7781 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.5892, allocations: 261 kB / 0.7784 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.117e-05/0.5893, allocations: 30.52 kB / 0.7784 GB, free: 9.305 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.5893, allocations: 22.66 kB / 0.7784 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.5899, allocations: 453.5 kB / 0.7788 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5899, allocations: 38.56 kB / 0.7789 GB, free: 8.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 3.567e-06/0.5899, allocations: 0 / 0.7789 GB, free: 8.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001667/0.5901, allocations: 45.64 kB / 0.7789 GB, free: 8.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.5901, allocations: 55.34 kB / 0.779 GB, free: 8.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.5902, allocations: 96.98 kB / 0.7791 GB, free: 8.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.5902, allocations: 25.7 kB / 0.7791 GB, free: 8.449 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.5903, allocations: 88.14 kB / 0.7792 GB, free: 8.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.5903, allocations: 7.938 kB / 0.7792 GB, free: 8.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.5903, allocations: 0 / 0.7792 GB, free: 8.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5904, allocations: 314.8 kB / 0.7795 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.5905, allocations: 4 kB / 0.7795 GB, free: 8.031 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.5905, allocations: 8 kB / 0.7795 GB, free: 8.023 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.08e-05/0.5905, allocations: 7.984 kB / 0.7795 GB, free: 8.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5905, allocations: 0 / 0.7795 GB, free: 8.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.318e-05/0.5906, allocations: 41.7 kB / 0.7795 GB, free: 7.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5906, allocations: 12.05 kB / 0.7796 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5906, allocations: 0 / 0.7796 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5907, allocations: 1.688 kB / 0.7796 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.5908, allocations: 17.17 kB / 0.7796 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5908, allocations: 4 kB / 0.7796 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.5908, allocations: 11.89 kB / 0.7796 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.5908, allocations: 0 / 0.7796 GB, free: 7.926 MB / 490.7 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 () * 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 6.382e-05/0.5909, allocations: 113 kB / 0.7797 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.5909, allocations: 0 / 0.7797 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.5911, allocations: 53.3 kB / 0.7797 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5911, allocations: 0 / 0.7797 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5911, allocations: 0 / 0.7797 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5911, allocations: 0 / 0.7797 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.5913, allocations: 161.6 kB / 0.7799 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5913, allocations: 4 kB / 0.7799 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.5914, allocations: 14.31 kB / 0.7799 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5914, allocations: 4.031 kB / 0.7799 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.5914, allocations: 0 / 0.7799 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.5914, allocations: 7.891 kB / 0.7799 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5914, allocations: 3.984 kB / 0.7799 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.5916, allocations: 134.1 kB / 0.7801 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.5916, allocations: 85.02 kB / 0.7801 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.5916, allocations: 0 / 0.7801 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.5917, allocations: 15.95 kB / 0.7802 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.5917, allocations: 11.95 kB / 0.7802 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.5918, allocations: 0 / 0.7802 GB, free: 7.242 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.5918, allocations: 83.27 kB / 0.7802 GB, free: 7.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5918, allocations: 0 / 0.7802 GB, free: 7.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.592, allocations: 16 kB / 0.7803 GB, free: 7.145 MB / 490.7 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 () * 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.0001637/0.5922, allocations: 119.2 kB / 0.7804 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.5923, allocations: 19.94 kB / 0.7804 GB, free: 7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5923, allocations: 4 kB / 0.7804 GB, free: 6.996 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.5923, allocations: 4 kB / 0.7804 GB, free: 6.992 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.5925, allocations: 5.359 kB / 0.7804 GB, free: 6.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.5927, allocations: 63.83 kB / 0.7805 GB, free: 6.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.5929, allocations: 0.6809 MB / 0.7811 GB, free: 6.199 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.397e-05/0.5929, allocations: 1.688 kB / 0.7811 GB, free: 6.199 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.593, allocations: 11.44 kB / 0.7811 GB, free: 6.191 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.593, allocations: 0 / 0.7811 GB, free: 6.191 MB / 490.7 MB Notification: Performance of Templates: time 0.00223/0.5952, allocations: 0.608 MB / 0.7817 GB, free: 5.605 MB / 490.7 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)