Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.946/4.946, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002575/0.002574, allocations: 355.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.61/4.61, allocations: 410.7 MB / 1.112 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001763, allocations: 189.8 kB / 1.225 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005144, allocations: 16 kB / 1.348 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6659, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0005883/0.6666, allocations: 322.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00019/0.6668, allocations: 46.47 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.6668, allocations: 1.094 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.906e-06/0.6668, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-06/0.6668, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.667, allocations: 16.5 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.264e-05/0.6671, allocations: 2.156 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.6671, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.6671, allocations: 4 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.596e-05/0.6672, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.803e-06/0.6672, allocations: 0 / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.996e-05/0.6673, allocations: 23.97 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-06/0.6673, allocations: 4.562 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.6673, allocations: 25.7 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.353e-05/0.6674, allocations: 10.92 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6674, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.153e-06/0.6674, allocations: 3.938 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.199e-06/0.6674, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 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.0001898/0.6676, allocations: 307.4 kB / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6677, allocations: 11.62 kB / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.668, allocations: 17.19 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.648e-05/0.668, allocations: 167 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6681, allocations: 0.9375 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6681, allocations: 4 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.6682, allocations: 46.44 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.56e-06/0.6682, allocations: 1.141 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-06/0.6683, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-06/0.6683, allocations: 1.062 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.6684, allocations: 10.39 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.938e-05/0.6685, allocations: 149.6 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.6686, allocations: 24.22 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.6687, allocations: 12.8 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.6687, allocations: 8.734 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.6687, allocations: 31.38 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.949e-06/0.6687, allocations: 3.469 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002385/0.669, allocations: 45.67 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.669, allocations: 51.41 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.833e-05/0.6691, allocations: 89.86 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.6691, allocations: 25.7 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.6691, allocations: 80.14 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.6692, allocations: 2.156 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.6692, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.6693, allocations: 318.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.6694, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.6695, allocations: 12.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.429e-05/0.6696, allocations: 5.656 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.674e-06/0.6696, allocations: 3.953 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002498/0.6699, allocations: 42.72 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.67, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.99e-06/0.67, allocations: 4.625 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.67, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.6701, allocations: 9.172 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.6702, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.6703, allocations: 3.906 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.6703, allocations: 0.6562 kB / 1.463 GB, free: 282.2 MB / 0.8542 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 7.388e-05/0.6704, allocations: 106.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.6704, allocations: 17.19 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.6705, allocations: 3.125 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-06/0.6705, allocations: 1.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.89e-06/0.6705, allocations: 0.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.527e-06/0.6706, allocations: 1.406 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.742e-05/0.6707, allocations: 143.8 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-06/0.6707, allocations: 3.938 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.6708, allocations: 11.94 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.111e-06/0.6708, allocations: 1.594 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.6708, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.162e-06/0.6709, allocations: 3.938 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.834e-06/0.6709, allocations: 4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.6712, allocations: 68.17 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.6712, allocations: 77.11 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.6712, allocations: 3.953 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.6713, allocations: 4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.6714, allocations: 1.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-06/0.6714, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.133e-05/0.6714, allocations: 75.28 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.07e-06/0.6715, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004912/0.672, allocations: 5.344 kB / 1.463 GB, free: 281.6 MB / 0.8542 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.0001469/0.6721, allocations: 99.23 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.6724, allocations: 16.92 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.955e-06/0.6724, allocations: 0.7812 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.735e-05/0.6725, allocations: 5.5 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.6728, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.6731, allocations: 85.25 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.6733, allocations: 0.677 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.572e-05/0.6733, allocations: 1.953 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.6734, allocations: 8.812 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.484e-06/0.6734, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.002155/0.6756, allocations: 216.3 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB