Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002561, allocations: 354.6 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.486/1.486, allocations: 165.8 MB / 183.1 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.717/3.717, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001779/0.001779, allocations: 194.5 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004877, allocations: 16 kB / 0.7429 GB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4204, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.5982, allocations: 97.56 MB / 0.904 GB, free: 11.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.5985, allocations: 83.94 kB / 0.9041 GB, free: 11.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00183/0.6004, allocations: 0.5416 MB / 0.9046 GB, free: 10.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6004, allocations: 4 kB / 0.9046 GB, free: 10.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.6004, allocations: 0 / 0.9046 GB, free: 10.46 MB / 458.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.0002832/0.6007, allocations: 315.4 kB / 0.9049 GB, free: 10.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6007, allocations: 8.031 kB / 0.9049 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.601, allocations: 19.97 kB / 0.905 GB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.6011, allocations: 159.1 kB / 0.9051 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.6012, allocations: 0 / 0.9051 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.6012, allocations: 0 / 0.9051 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.6014, allocations: 37.69 kB / 0.9051 GB, free: 9.844 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6014, allocations: 0 / 0.9051 GB, free: 9.844 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.6014, allocations: 3.953 kB / 0.9051 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6014, allocations: 4 kB / 0.9052 GB, free: 9.836 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.6016, allocations: 7.984 kB / 0.9052 GB, free: 9.828 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.6017, allocations: 149.7 kB / 0.9053 GB, free: 9.633 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.6019, allocations: 26.55 kB / 0.9053 GB, free: 9.598 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.602, allocations: 12.91 kB / 0.9053 GB, free: 9.582 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.602, allocations: 0 / 0.9053 GB, free: 9.582 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6021, allocations: 30.56 kB / 0.9054 GB, free: 9.543 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.6021, allocations: 4 kB / 0.9054 GB, free: 9.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003307/0.6024, allocations: 41.62 kB / 0.9054 GB, free: 9.492 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6025, allocations: 63.47 kB / 0.9055 GB, free: 9.418 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.6025, allocations: 93.86 kB / 0.9056 GB, free: 9.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.6026, allocations: 29.7 kB / 0.9056 GB, free: 9.281 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.6026, allocations: 80.14 kB / 0.9057 GB, free: 9.199 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.6027, allocations: 7.844 kB / 0.9057 GB, free: 9.191 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.6027, allocations: 0 / 0.9057 GB, free: 9.191 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6028, allocations: 310.8 kB / 0.906 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.6029, allocations: 4 kB / 0.906 GB, free: 8.875 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.603, allocations: 11.98 kB / 0.906 GB, free: 8.863 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/0.6031, allocations: 0 / 0.906 GB, free: 8.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6031, allocations: 4 kB / 0.906 GB, free: 8.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001943/0.6033, allocations: 41.67 kB / 0.906 GB, free: 8.812 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6033, allocations: 4 kB / 0.906 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.6034, allocations: 3.938 kB / 0.906 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.6034, allocations: 0 / 0.906 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6035, allocations: 12.03 kB / 0.906 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6035, allocations: 0 / 0.906 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.6036, allocations: 15.94 kB / 0.9061 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.6036, allocations: 0 / 0.9061 GB, free: 8.777 MB / 458.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 9.054e-05/0.6037, allocations: 108.8 kB / 0.9062 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.6037, allocations: 0 / 0.9062 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.6038, allocations: 3.125 kB / 0.9062 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6038, allocations: 0 / 0.9062 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6038, allocations: 12 kB / 0.9062 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6038, allocations: 0 / 0.9062 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.6039, allocations: 149.6 kB / 0.9063 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.604, allocations: 0 / 0.9063 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.604, allocations: 4 kB / 0.9063 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6041, allocations: 3.984 kB / 0.9063 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.6041, allocations: 0 / 0.9063 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6041, allocations: 3.984 kB / 0.9063 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6041, allocations: 0 / 0.9063 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.6043, allocations: 81 kB / 0.9064 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.6044, allocations: 77.11 kB / 0.9065 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.6044, allocations: 0 / 0.9065 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.6045, allocations: 0 / 0.9065 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.6045, allocations: 7.984 kB / 0.9065 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.6045, allocations: 0 / 0.9065 GB, free: 8.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.674e-05/0.6045, allocations: 75.28 kB / 0.9066 GB, free: 8.172 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.174e-06/0.6046, allocations: 4.031 kB / 0.9066 GB, free: 8.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.6048, allocations: 3.938 kB / 0.9066 GB, free: 8.164 MB / 458.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.0001264/0.6049, allocations: 95.25 kB / 0.9067 GB, free: 8.062 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.6051, allocations: 15.98 kB / 0.9067 GB, free: 8.047 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6051, allocations: 0 / 0.9067 GB, free: 8.047 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.6052, allocations: 4 kB / 0.9067 GB, free: 8.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.6054, allocations: 18.72 kB / 0.9067 GB, free: 8.027 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.6057, allocations: 80.31 kB / 0.9068 GB, free: 7.922 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.606, allocations: 0.6692 MB / 0.9074 GB, free: 7.227 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.6061, allocations: 4 kB / 0.9074 GB, free: 7.223 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.6061, allocations: 11.44 kB / 0.9074 GB, free: 7.211 MB / 458.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6062, allocations: 0 / 0.9074 GB, free: 7.211 MB / 458.7 MB Notification: Performance of Templates: time 0.002323/0.6085, allocations: 210.6 kB / 0.9076 GB, free: 7.008 MB / 458.7 MB