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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6998/0.6998, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001146/0.001146, allocations: 172.5 kB / 171.6 MB, free: 2.016 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.306/1.306, allocations: 170.5 MB / 373.9 MB, free: 15.92 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.001661/0.00166, allocations: 120.2 kB / 444.4 MB, free: 9.469 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.5368/0.5368, allocations: 73.39 MB / 0.666 GB, free: 62.43 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.6624, allocations: 101.3 MB / 0.7649 GB, free: 3.059 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.6627, allocations: 70.97 kB / 0.765 GB, free: 2.992 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01265/0.6753, allocations: 3.949 MB / 0.7689 GB, free: 15.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.6754, allocations: 0 / 0.7689 GB, free: 15.12 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.0004622/0.6759, allocations: 378.3 kB / 0.7692 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.6759, allocations: 8.031 kB / 0.7692 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.676, allocations: 2.031 kB / 0.7692 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.6762, allocations: 167.8 kB / 0.7694 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.6762, allocations: 0 / 0.7694 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.6763, allocations: 4 kB / 0.7694 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.692e-05/0.6763, allocations: 12 kB / 0.7694 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.6764, allocations: 33.69 kB / 0.7694 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6764, allocations: 0 / 0.7694 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6765, allocations: 0.8438 kB / 0.7694 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.6765, allocations: 9.094 kB / 0.7695 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.677, allocations: 253.5 kB / 0.7697 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.6771, allocations: 30.56 kB / 0.7697 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.6771, allocations: 8.922 kB / 0.7697 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.6778, allocations: 461.5 kB / 0.7702 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6778, allocations: 34.56 kB / 0.7702 GB, free: 13.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6778, allocations: 4 kB / 0.7702 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.678, allocations: 37.61 kB / 0.7702 GB, free: 13.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.6781, allocations: 57.75 kB / 0.7703 GB, free: 13.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.6781, allocations: 96.98 kB / 0.7704 GB, free: 13.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.6782, allocations: 25.7 kB / 0.7704 GB, free: 13.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.6782, allocations: 92.11 kB / 0.7705 GB, free: 13.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.6782, allocations: 3.906 kB / 0.7705 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.6782, allocations: 3.938 kB / 0.7705 GB, free: 13.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6784, allocations: 314.8 kB / 0.7708 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.6784, allocations: 4 kB / 0.7708 GB, free: 12.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.6784, allocations: 4 kB / 0.7708 GB, free: 12.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.6785, allocations: 8 kB / 0.7708 GB, free: 12.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6785, allocations: 0 / 0.7708 GB, free: 12.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001302/0.6786, allocations: 53.66 kB / 0.7709 GB, free: 12.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6786, allocations: 4 kB / 0.7709 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6786, allocations: 0.5 kB / 0.7709 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6787, allocations: 0 / 0.7709 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.6788, allocations: 15.98 kB / 0.7709 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.6788, allocations: 0 / 0.7709 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.6788, allocations: 9.281 kB / 0.7709 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.6788, allocations: 4 kB / 0.7709 GB, free: 12.74 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 8.667e-05/0.6789, allocations: 108.9 kB / 0.771 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.679, allocations: 0 / 0.771 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.6791, allocations: 53.25 kB / 0.7711 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6791, allocations: 0 / 0.7711 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6791, allocations: 0 / 0.7711 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6791, allocations: 4.031 kB / 0.7711 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.6793, allocations: 141 kB / 0.7712 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6793, allocations: 4 kB / 0.7712 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.6794, allocations: 11.98 kB / 0.7712 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6794, allocations: 0.5625 kB / 0.7712 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.6794, allocations: 0 / 0.7712 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.6794, allocations: 0 / 0.7712 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6794, allocations: 0 / 0.7712 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000138/0.6795, allocations: 153.3 kB / 0.7714 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.6796, allocations: 85.05 kB / 0.7714 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.6796, allocations: 3.906 kB / 0.7715 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.6797, allocations: 7.984 kB / 0.7715 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.6797, allocations: 4 kB / 0.7715 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.6798, allocations: 4.031 kB / 0.7715 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.048e-05/0.6798, allocations: 83.28 kB / 0.7715 GB, free: 12.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.68, allocations: 19.98 kB / 0.7716 GB, free: 11.99 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.0001925/0.6802, allocations: 111.2 kB / 0.7717 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.671e-05/0.6803, allocations: 15.94 kB / 0.7717 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.6803, allocations: 0 / 0.7717 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.6803, allocations: 8 kB / 0.7717 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.6805, allocations: 8.062 kB / 0.7717 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.6807, allocations: 63.86 kB / 0.7718 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.681, allocations: 0.6919 MB / 0.7724 GB, free: 11.04 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.681, allocations: 0 / 0.7724 GB, free: 11.04 MB / 490.7 MB Notification: Performance of Templates: time 0.002419/0.6834, allocations: 0.6648 MB / 0.7731 GB, free: 10.4 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)