Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 293 MB / 309 MB, free: 4.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 172.5 kB / 378.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 0.6383 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007373/0.0007373, allocations: 87.28 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004648, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2351, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6609/0.8961, allocations: 138.3 MB / 1.126 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.8963, allocations: 78.39 kB / 1.126 GB, free: 35.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001222/0.8976, allocations: 0.5372 MB / 1.126 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.036e-06/0.8976, allocations: 0 / 1.126 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8976, allocations: 2.031 kB / 1.126 GB, free: 34.74 MB / 0.7292 GB 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.0001844/0.8978, allocations: 314.4 kB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8979, allocations: 8.031 kB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.898, allocations: 22.41 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.065e-05/0.8981, allocations: 163.7 kB / 1.127 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.8981, allocations: 2.797 kB / 1.127 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.8981, allocations: 384 / 1.127 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8983, allocations: 34.75 kB / 1.127 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8983, allocations: 0.6875 kB / 1.127 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.8983, allocations: 10 kB / 1.127 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8983, allocations: 0 / 1.127 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.8984, allocations: 11.41 kB / 1.127 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.8985, allocations: 145.2 kB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.8986, allocations: 30.02 kB / 1.127 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.8986, allocations: 13 kB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.8987, allocations: 0 / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.8987, allocations: 35.06 kB / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.8987, allocations: 0 / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002038/0.8989, allocations: 52.42 kB / 1.127 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.8989, allocations: 51.41 kB / 1.127 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.908e-05/0.8989, allocations: 93.86 kB / 1.127 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.899, allocations: 34.25 kB / 1.127 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.109e-05/0.899, allocations: 80.14 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.899, allocations: 0.7812 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.899, allocations: 0 / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.8991, allocations: 314.4 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.8991, allocations: 8.125 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.8992, allocations: 7.609 kB / 1.128 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.8992, allocations: 12.47 kB / 1.128 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8992, allocations: 0 / 1.128 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.716e-05/0.8993, allocations: 49.5 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.8994, allocations: 10.69 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8994, allocations: 0 / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.8994, allocations: 3.938 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.8995, allocations: 8.047 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8995, allocations: 0 / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.8995, allocations: 0 / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.8995, allocations: 4.562 kB / 1.128 GB, free: 33.1 MB / 0.7292 GB 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 4.321e-05/0.8996, allocations: 113.2 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.8996, allocations: 0.75 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.8996, allocations: 11.06 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.8996, allocations: 0 / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.8996, allocations: 0.6875 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8996, allocations: 4.562 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.082e-05/0.8997, allocations: 145.1 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.8997, allocations: 0 / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.8997, allocations: 5.359 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8998, allocations: 0.625 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.8998, allocations: 3.938 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8998, allocations: 3.891 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.8998, allocations: 4 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.8999, allocations: 72.17 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.8999, allocations: 80.95 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.8999, allocations: 3.938 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.586e-05/0.9, allocations: 0.7656 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.9, allocations: 0.5938 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.9, allocations: 8.688 kB / 1.128 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.356e-05/0.9, allocations: 75.28 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9, allocations: 0 / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001683/0.9002, allocations: 0 / 1.128 GB, free: 32.51 MB / 0.7292 GB 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.0001066/0.9003, allocations: 102.7 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.9004, allocations: 15.92 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9004, allocations: 4.062 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.9005, allocations: 11.94 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.9006, allocations: 3.328 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.9008, allocations: 79.03 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.9009, allocations: 0.6703 MB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.901, allocations: 8.062 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.901, allocations: 11.44 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.901, allocations: 0 / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.001891/0.9029, allocations: 210.9 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)