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.002771/0.00277, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.467/1.467, allocations: 165.8 MB / 183.1 MB, free: 5.434 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.986/3.986, allocations: 410.8 MB / 0.6001 GB, free: 15.3 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.001747/0.001747, allocations: 190.8 kB / 0.6668 GB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004534, allocations: 16 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3987, allocations: 67.44 MB / 0.8088 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0006702/0.3994, allocations: 307.3 kB / 0.809 GB, free: 28.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.3996, allocations: 39.91 kB / 0.8091 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-06/0.3997, allocations: 0 / 0.8091 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.3997, allocations: 0 / 0.8091 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.3997, allocations: 3.938 kB / 0.8091 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.3999, allocations: 11.97 kB / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.391e-05/0.3999, allocations: 8 kB / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.4, allocations: 0 / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.4, allocations: 0 / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.073e-05/0.4001, allocations: 4 kB / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.4001, allocations: 0 / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.4002, allocations: 27.91 kB / 0.8091 GB, free: 28.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-06/0.4002, allocations: 0 / 0.8091 GB, free: 28.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.4002, allocations: 29.64 kB / 0.8092 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.838e-05/0.4003, allocations: 7.984 kB / 0.8092 GB, free: 28.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4003, allocations: 0 / 0.8092 GB, free: 28.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4003, allocations: 0 / 0.8092 GB, free: 28.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.4003, allocations: 4 kB / 0.8092 GB, free: 28.37 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.0001912/0.4005, allocations: 307.4 kB / 0.8095 GB, free: 28.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4006, allocations: 12.03 kB / 0.8095 GB, free: 28.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.4009, allocations: 19.97 kB / 0.8095 GB, free: 27.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.401, allocations: 171 kB / 0.8097 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.401, allocations: 0 / 0.8097 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.401, allocations: 0 / 0.8097 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.4012, allocations: 33.69 kB / 0.8097 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4012, allocations: 0 / 0.8097 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4012, allocations: 7.953 kB / 0.8097 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4012, allocations: 0 / 0.8097 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.4014, allocations: 11.98 kB / 0.8097 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.4015, allocations: 153.7 kB / 0.8099 GB, free: 27.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.712e-05/0.4016, allocations: 26.53 kB / 0.8099 GB, free: 27.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.4017, allocations: 8.922 kB / 0.8099 GB, free: 27.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4017, allocations: 4 kB / 0.8099 GB, free: 27.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.4018, allocations: 34.55 kB / 0.8099 GB, free: 27.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.4018, allocations: 0 / 0.8099 GB, free: 27.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003044/0.4021, allocations: 41.69 kB / 0.81 GB, free: 27.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.4021, allocations: 55.36 kB / 0.81 GB, free: 27.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.007e-05/0.4022, allocations: 93.86 kB / 0.8101 GB, free: 27.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.4022, allocations: 29.83 kB / 0.8101 GB, free: 27.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.436e-05/0.4022, allocations: 80.14 kB / 0.8102 GB, free: 27.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4022, allocations: 3.906 kB / 0.8102 GB, free: 27.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.4023, allocations: 0 / 0.8102 GB, free: 27.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.4023, allocations: 326.7 kB / 0.8105 GB, free: 26.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.4024, allocations: 0 / 0.8105 GB, free: 26.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.4025, allocations: 7.984 kB / 0.8105 GB, free: 26.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.957e-05/0.4026, allocations: 8.062 kB / 0.8106 GB, free: 26.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4026, allocations: 0 / 0.8106 GB, free: 26.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001745/0.4028, allocations: 37.69 kB / 0.8106 GB, free: 26.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4028, allocations: 8 kB / 0.8106 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4028, allocations: 0 / 0.8106 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4028, allocations: 3.984 kB / 0.8106 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.4029, allocations: 4 kB / 0.8106 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4029, allocations: 0 / 0.8106 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.403, allocations: 7.953 kB / 0.8106 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.403, allocations: 4.031 kB / 0.8106 GB, free: 26.68 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 5.767e-05/0.4031, allocations: 113.8 kB / 0.8107 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.4031, allocations: 7.969 kB / 0.8107 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.4031, allocations: 3.125 kB / 0.8107 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4032, allocations: 3.938 kB / 0.8107 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4032, allocations: 0 / 0.8107 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.4032, allocations: 79.22 kB / 0.8108 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4032, allocations: 3.953 kB / 0.8108 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.4033, allocations: 8 kB / 0.8108 GB, free: 26.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.4033, allocations: 0 / 0.8108 GB, free: 26.44 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002189/0.4035, allocations: 121 kB / 0.8109 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002077/0.4038, allocations: 214.8 kB / 0.8111 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.649e-05/0.4038, allocations: 8.062 kB / 0.8112 GB, free: 26.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.392e-05/0.4039, allocations: 75.28 kB / 0.8112 GB, free: 26.01 MB / 378.7 MB Notification: Performance of Backend: time 6.21e-07/0.4039, allocations: 0 / 0.8112 GB, free: 26.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.4044, allocations: 86.39 kB / 0.8113 GB, free: 25.92 MB / 378.7 MB Notification: Performance of SimCode: time 0.000233/0.4046, allocations: 0.5311 MB / 0.8118 GB, free: 25.34 MB / 378.7 MB Notification: Performance of Templates: time 0.002713/0.4073, allocations: 431.3 kB / 0.8122 GB, free: 24.92 MB / 378.7 MB