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.001431/0.001435, allocations: 186.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7257/0.7257, allocations: 82.93 MB / 99.42 MB, free: 3.18 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 325.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 86.92 kB / 393.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004503, allocations: 12 kB / 471.6 MB, free: 66.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08938, allocations: 67.44 MB / 0.5264 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0006425/0.09006, allocations: 300.3 kB / 0.5266 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.09029, allocations: 49.53 kB / 0.5267 GB, free: 14.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.181e-05/0.09032, allocations: 4 kB / 0.5267 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.925e-06/0.09034, allocations: 4 kB / 0.5267 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.392e-06/0.09035, allocations: 0 / 0.5267 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.09052, allocations: 3.984 kB / 0.5267 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.615e-05/0.09057, allocations: 4 kB / 0.5267 GB, free: 14.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.09061, allocations: 0 / 0.5267 GB, free: 14.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.09064, allocations: 0 / 0.5267 GB, free: 14.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.098e-05/0.09068, allocations: 7.875 kB / 0.5267 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.063e-06/0.09069, allocations: 0 / 0.5267 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.09079, allocations: 23.97 kB / 0.5267 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-06/0.09081, allocations: 8 kB / 0.5267 GB, free: 14.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.09085, allocations: 29.69 kB / 0.5268 GB, free: 14.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.566e-05/0.09092, allocations: 4 kB / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.733e-06/0.09093, allocations: 0 / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09095, allocations: 3.938 kB / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.438e-06/0.09096, allocations: 0 / 0.5268 GB, free: 14.59 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.0002868/0.09126, allocations: 316.2 kB / 0.5271 GB, free: 14.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.09131, allocations: 8.094 kB / 0.5271 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.09158, allocations: 27.97 kB / 0.5271 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.09172, allocations: 159.1 kB / 0.5273 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.09174, allocations: 0 / 0.5273 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-06/0.09176, allocations: 0 / 0.5273 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.0919, allocations: 37.69 kB / 0.5273 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.589e-06/0.09193, allocations: 0 / 0.5273 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.09195, allocations: 7.938 kB / 0.5273 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-06/0.09196, allocations: 0 / 0.5273 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.877e-05/0.09207, allocations: 15.94 kB / 0.5273 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.09224, allocations: 145.7 kB / 0.5275 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.09234, allocations: 18.61 kB / 0.5275 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.09237, allocations: 3.984 kB / 0.5275 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.09241, allocations: 34.56 kB / 0.5275 GB, free: 13.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.09242, allocations: 0 / 0.5275 GB, free: 13.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002682/0.0927, allocations: 49.69 kB / 0.5276 GB, free: 13.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.09276, allocations: 55.36 kB / 0.5276 GB, free: 13.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.09282, allocations: 93.84 kB / 0.5277 GB, free: 13.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.09286, allocations: 25.7 kB / 0.5277 GB, free: 13.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.09291, allocations: 80.14 kB / 0.5278 GB, free: 13.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.09294, allocations: 7.906 kB / 0.5278 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-06/0.09296, allocations: 0 / 0.5278 GB, free: 13.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.09313, allocations: 318.9 kB / 0.5281 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.09319, allocations: 4 kB / 0.5281 GB, free: 13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.09325, allocations: 7.984 kB / 0.5281 GB, free: 13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.09332, allocations: 4 kB / 0.5281 GB, free: 12.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-06/0.09333, allocations: 0 / 0.5281 GB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001632/0.0935, allocations: 49.61 kB / 0.5282 GB, free: 12.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.09353, allocations: 4.094 kB / 0.5282 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-06/0.09355, allocations: 4 kB / 0.5282 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.09357, allocations: 0 / 0.5282 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.09365, allocations: 4 kB / 0.5282 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.09367, allocations: 0 / 0.5282 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.09372, allocations: 3.953 kB / 0.5282 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.09374, allocations: 7.984 kB / 0.5282 GB, free: 12.91 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 8.782e-05/0.09384, allocations: 105.8 kB / 0.5283 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.09386, allocations: 0 / 0.5283 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.0939, allocations: 7.125 kB / 0.5283 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-06/0.09391, allocations: 0 / 0.5283 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.812e-06/0.09393, allocations: 3.938 kB / 0.5283 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.09394, allocations: 0 / 0.5283 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.09408, allocations: 161.9 kB / 0.5285 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-06/0.0941, allocations: 0 / 0.5285 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.09416, allocations: 4 kB / 0.5285 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.993e-06/0.09417, allocations: 0 / 0.5285 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-06/0.09419, allocations: 0 / 0.5285 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.998e-06/0.0942, allocations: 0 / 0.5285 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.585e-06/0.09421, allocations: 4 kB / 0.5285 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.0944, allocations: 77 kB / 0.5286 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.09446, allocations: 77.11 kB / 0.5286 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.09448, allocations: 0 / 0.5286 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.09453, allocations: 0 / 0.5286 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.09456, allocations: 4 kB / 0.5286 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.09458, allocations: 8.031 kB / 0.5286 GB, free: 12.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.09463, allocations: 79.27 kB / 0.5287 GB, free: 12.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.34e-07/0.09464, allocations: 0 / 0.5287 GB, free: 12.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.09488, allocations: 0 / 0.5287 GB, free: 12.3 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 0.000133/0.09502, allocations: 99.19 kB / 0.5288 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.09518, allocations: 15.92 kB / 0.5288 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.55e-06/0.0952, allocations: 0 / 0.5288 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.09527, allocations: 12 kB / 0.5288 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.09538, allocations: 8.516 kB / 0.5288 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.09564, allocations: 86.73 kB / 0.5289 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.09599, allocations: 0.6731 MB / 0.5296 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.285e-05/0.09605, allocations: 4.062 kB / 0.5296 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.09609, allocations: 11.44 kB / 0.5296 GB, free: 11.33 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.0961, allocations: 0 / 0.5296 GB, free: 11.33 MB / 378.7 MB Notification: Performance of Templates: time 0.002034/0.09814, allocations: 213.1 kB / 0.5298 GB, free: 11.12 MB / 378.7 MB