Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8419/0.8419, allocations: 133.7 MB / 148.6 MB, free: 13.63 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.001941/0.001941, allocations: 172.1 kB / 180.8 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.571/1.571, allocations: 170.7 MB / 383.7 MB, free: 16.16 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.001537/0.001537, allocations: 104.3 kB / 454.6 MB, free: 9.738 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.1935/0.1941, allocations: 73.4 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5882/0.7823, allocations: 101 MB / 0.7798 GB, free: 25.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.7826, allocations: 77.84 kB / 0.7799 GB, free: 25.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001303/0.7839, allocations: 0.5293 MB / 0.7804 GB, free: 24.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.7839, allocations: 4.609 kB / 0.7804 GB, free: 24.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.784, allocations: 0 / 0.7804 GB, free: 24.7 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002438/0.7842, allocations: 320 kB / 0.7807 GB, free: 24.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.7843, allocations: 12.5 kB / 0.7807 GB, free: 24.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.7845, allocations: 15.5 kB / 0.7807 GB, free: 24.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.958e-05/0.7846, allocations: 163.7 kB / 0.7809 GB, free: 24.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.7846, allocations: 0 / 0.7809 GB, free: 24.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.7846, allocations: 6.594 kB / 0.7809 GB, free: 24.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.7848, allocations: 38.06 kB / 0.7809 GB, free: 24.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.7848, allocations: 0 / 0.7809 GB, free: 24.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7848, allocations: 1.172 kB / 0.7809 GB, free: 24.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7848, allocations: 3.984 kB / 0.7809 GB, free: 24.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.7849, allocations: 10.06 kB / 0.7809 GB, free: 24.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.7851, allocations: 151 kB / 0.7811 GB, free: 23.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.7852, allocations: 28.48 kB / 0.7811 GB, free: 23.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.7852, allocations: 0.5625 kB / 0.7811 GB, free: 23.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.7852, allocations: 31.62 kB / 0.7811 GB, free: 23.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.7852, allocations: 0.5625 kB / 0.7811 GB, free: 23.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002673/0.7855, allocations: 51.98 kB / 0.7812 GB, free: 23.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.7856, allocations: 51.53 kB / 0.7812 GB, free: 23.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.029e-05/0.7856, allocations: 89.61 kB / 0.7813 GB, free: 23.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.7856, allocations: 29.64 kB / 0.7813 GB, free: 23.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.7856, allocations: 80.14 kB / 0.7814 GB, free: 23.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.7857, allocations: 4.281 kB / 0.7814 GB, free: 23.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.7857, allocations: 0 / 0.7814 GB, free: 23.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.7858, allocations: 318.2 kB / 0.7817 GB, free: 23.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.7858, allocations: 1.922 kB / 0.7817 GB, free: 23.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.7859, allocations: 9.969 kB / 0.7817 GB, free: 23.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.7859, allocations: 8.531 kB / 0.7817 GB, free: 23.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7859, allocations: 0 / 0.7817 GB, free: 23.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001081/0.7861, allocations: 38.91 kB / 0.7818 GB, free: 23.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7861, allocations: 8 kB / 0.7818 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7861, allocations: 0 / 0.7818 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.7861, allocations: 0 / 0.7818 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.7862, allocations: 6.062 kB / 0.7818 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.7862, allocations: 4.094 kB / 0.7818 GB, free: 23.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.7863, allocations: 5.969 kB / 0.7818 GB, free: 23.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.7863, allocations: 0.8438 kB / 0.7818 GB, free: 23.11 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.7864, allocations: 115.5 kB / 0.7819 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.7864, allocations: 4.891 kB / 0.7819 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.7864, allocations: 3.125 kB / 0.7819 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7864, allocations: 1.719 kB / 0.7819 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.7864, allocations: 0 / 0.7819 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7865, allocations: 4 kB / 0.7819 GB, free: 22.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.35e-05/0.7865, allocations: 147.8 kB / 0.7821 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7865, allocations: 0 / 0.7821 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.7866, allocations: 6.531 kB / 0.7821 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.7866, allocations: 3.938 kB / 0.7821 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.7866, allocations: 0.6562 kB / 0.7821 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7866, allocations: 4 kB / 0.7821 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7866, allocations: 4 kB / 0.7821 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.7868, allocations: 69.86 kB / 0.7822 GB, free: 22.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.7868, allocations: 77.77 kB / 0.7822 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.7868, allocations: 4.75 kB / 0.7822 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.7869, allocations: 4.734 kB / 0.7822 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.7869, allocations: 3.125 kB / 0.7822 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.7869, allocations: 4.453 kB / 0.7822 GB, free: 22.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.991e-05/0.7869, allocations: 75.28 kB / 0.7823 GB, free: 22.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7869, allocations: 0 / 0.7823 GB, free: 22.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.7871, allocations: 8.031 kB / 0.7823 GB, free: 22.52 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 () * 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 (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.0001269/0.7873, allocations: 96.64 kB / 0.7824 GB, free: 22.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.7874, allocations: 11.8 kB / 0.7824 GB, free: 22.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7874, allocations: 0 / 0.7824 GB, free: 22.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.7875, allocations: 10.16 kB / 0.7824 GB, free: 22.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.7876, allocations: 5.391 kB / 0.7824 GB, free: 22.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.7878, allocations: 82.52 kB / 0.7825 GB, free: 22.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.788, allocations: 0.6752 MB / 0.7832 GB, free: 21.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.471e-05/0.788, allocations: 0.6562 kB / 0.7832 GB, free: 21.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.7881, allocations: 7.953 kB / 0.7832 GB, free: 21.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7881, allocations: 4 kB / 0.7832 GB, free: 21.59 MB / 490.7 MB Notification: Performance of Templates: time 0.002084/0.7902, allocations: 209.3 kB / 0.7834 GB, free: 21.46 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)