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.004066/0.004071, allocations: 357.2 kB / 15.94 MB, free: 6.207 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.498/1.498, allocations: 165.8 MB / 182.5 MB, free: 5.477 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 4.111/4.111, allocations: 410.8 MB / 0.5995 GB, free: 15.15 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.001679/0.001678, allocations: 194.5 kB / 0.6662 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004614, allocations: 12 kB / 0.7423 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 67.44 MB / 0.8082 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0005562/0.3274, allocations: 300.3 kB / 0.8084 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.3277, allocations: 54.61 kB / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.247e-05/0.3277, allocations: 0 / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.3277, allocations: 0 / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.159e-06/0.3277, allocations: 0 / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.3279, allocations: 15.92 kB / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.135e-05/0.3279, allocations: 0 / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.328, allocations: 4 kB / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.179e-05/0.328, allocations: 0 / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.328, allocations: 4 kB / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.452e-06/0.3281, allocations: 3.938 kB / 0.8085 GB, free: 28.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.3282, allocations: 23.97 kB / 0.8085 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-06/0.3282, allocations: 0 / 0.8085 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.3282, allocations: 25.7 kB / 0.8086 GB, free: 28.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.053e-05/0.3283, allocations: 7.984 kB / 0.8086 GB, free: 28.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.15e-06/0.3283, allocations: 4 kB / 0.8086 GB, free: 28.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.3283, allocations: 0 / 0.8086 GB, free: 28.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.362e-06/0.3283, allocations: 0 / 0.8086 GB, free: 28.34 MB / 378.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.0001834/0.3285, allocations: 315.4 kB / 0.8089 GB, free: 27.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3285, allocations: 8.031 kB / 0.8089 GB, free: 27.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.3288, allocations: 23.91 kB / 0.8089 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.377e-05/0.3289, allocations: 159.1 kB / 0.8091 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3289, allocations: 11.94 kB / 0.8091 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3289, allocations: 4 kB / 0.8091 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.329, allocations: 33.69 kB / 0.8091 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3291, allocations: 0 / 0.8091 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-06/0.3291, allocations: 3.953 kB / 0.8091 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-06/0.3291, allocations: 3.984 kB / 0.8091 GB, free: 27.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.3292, allocations: 4 kB / 0.8091 GB, free: 27.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.667e-05/0.3293, allocations: 149.7 kB / 0.8093 GB, free: 27.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/0.3294, allocations: 30.55 kB / 0.8093 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3295, allocations: 12.91 kB / 0.8093 GB, free: 27.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3295, allocations: 0 / 0.8093 GB, free: 27.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.3295, allocations: 30.56 kB / 0.8093 GB, free: 27.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.498e-06/0.3295, allocations: 0 / 0.8093 GB, free: 27.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002345/0.3298, allocations: 49.67 kB / 0.8094 GB, free: 27.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.3298, allocations: 55.36 kB / 0.8094 GB, free: 27.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.817e-05/0.3298, allocations: 89.86 kB / 0.8095 GB, free: 27.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.064e-06/0.3299, allocations: 25.7 kB / 0.8096 GB, free: 27.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.267e-05/0.3299, allocations: 80.14 kB / 0.8096 GB, free: 27.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3299, allocations: 7.906 kB / 0.8096 GB, free: 27.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.3299, allocations: 3.938 kB / 0.8096 GB, free: 27.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.33, allocations: 314.8 kB / 0.8099 GB, free: 26.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.33, allocations: 12.11 kB / 0.8099 GB, free: 26.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.3301, allocations: 4 kB / 0.81 GB, free: 26.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.3302, allocations: 7.984 kB / 0.81 GB, free: 26.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-06/0.3302, allocations: 0 / 0.81 GB, free: 26.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000139/0.3303, allocations: 37.69 kB / 0.81 GB, free: 26.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3303, allocations: 8 kB / 0.81 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-06/0.3304, allocations: 96 / 0.81 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3304, allocations: 4 kB / 0.81 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.3305, allocations: 7.984 kB / 0.81 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.003e-06/0.3305, allocations: 0 / 0.81 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.3305, allocations: 3.953 kB / 0.81 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.688e-06/0.3306, allocations: 0 / 0.81 GB, free: 26.65 MB / 378.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 4.973e-05/0.3306, allocations: 113.3 kB / 0.8101 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.3306, allocations: 4 kB / 0.8101 GB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.3307, allocations: 7.125 kB / 0.8101 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-06/0.3307, allocations: 3.938 kB / 0.8101 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.08e-06/0.3307, allocations: 0 / 0.8101 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.843e-06/0.3307, allocations: 3.984 kB / 0.8101 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.713e-05/0.3308, allocations: 147.8 kB / 0.8103 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-06/0.3308, allocations: 3.938 kB / 0.8103 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.3309, allocations: 7.984 kB / 0.8103 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.922e-06/0.3309, allocations: 0 / 0.8103 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-06/0.3309, allocations: 0 / 0.8103 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-06/0.3309, allocations: 4 kB / 0.8103 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.479e-06/0.3309, allocations: 0 / 0.8103 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.3311, allocations: 69.08 kB / 0.8104 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.3311, allocations: 77.11 kB / 0.8104 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3311, allocations: 7.984 kB / 0.8104 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.3312, allocations: 0 / 0.8104 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.3312, allocations: 0 / 0.8104 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-06/0.3312, allocations: 7.984 kB / 0.8105 GB, free: 26.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.3312, allocations: 79.31 kB / 0.8105 GB, free: 26.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.868e-06/0.3312, allocations: 0 / 0.8105 GB, free: 26.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.3315, allocations: 7.938 kB / 0.8105 GB, free: 26.02 MB / 378.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 8.347e-05/0.3316, allocations: 102.3 kB / 0.8106 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3317, allocations: 11.98 kB / 0.8106 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3318, allocations: 0 / 0.8106 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.3318, allocations: 16.05 kB / 0.8107 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.332, allocations: 3.953 kB / 0.8107 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.3322, allocations: 78.75 kB / 0.8107 GB, free: 25.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.3323, allocations: 0.677 MB / 0.8114 GB, free: 25.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.157e-05/0.3324, allocations: 4.062 kB / 0.8114 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.3324, allocations: 7.438 kB / 0.8114 GB, free: 25.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.447e-06/0.3324, allocations: 0 / 0.8114 GB, free: 25.07 MB / 378.7 MB Notification: Performance of Templates: time 0.002065/0.3345, allocations: 217.2 kB / 0.8116 GB, free: 24.86 MB / 378.7 MB