Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002442/0.002442, allocations: 182.2 kB / 15.76 MB, free: 5.996 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.8624/0.8624, allocations: 82.92 MB / 99.42 MB, free: 3.367 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.354/2.354, allocations: 205.4 MB / 325.4 MB, free: 3.328 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.001057/0.001057, allocations: 102.8 kB / 393.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004593, allocations: 20 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09206, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007047/0.09281, allocations: 304.3 kB / 0.5267 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.09438, allocations: 0.9406 MB / 0.5276 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-06/0.09442, allocations: 0 / 0.5276 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.09445, allocations: 0 / 0.5276 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.463e-06/0.09446, allocations: 7.938 kB / 0.5276 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.09476, allocations: 43.88 kB / 0.5276 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.772e-05/0.0948, allocations: 0 / 0.5276 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.09485, allocations: 0 / 0.5276 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.09487, allocations: 3.938 kB / 0.5276 GB, free: 13.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.09493, allocations: 7.984 kB / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.02e-06/0.09495, allocations: 0 / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.09518, allocations: 87.84 kB / 0.5277 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.07e-06/0.0952, allocations: 0 / 0.5277 GB, free: 13.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.09523, allocations: 29.7 kB / 0.5277 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.09535, allocations: 35.91 kB / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.8e-06/0.09537, allocations: 0 / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.231e-06/0.09538, allocations: 0 / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.711e-06/0.09539, allocations: 0 / 0.5278 GB, free: 13.6 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.0003274/0.09572, allocations: 320.5 kB / 0.5281 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.09577, allocations: 8.031 kB / 0.5281 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.09581, allocations: 0 / 0.5281 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.09595, allocations: 167.1 kB / 0.5283 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.511e-06/0.09597, allocations: 0 / 0.5283 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.09599, allocations: 4 kB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.958e-05/0.09609, allocations: 29.64 kB / 0.5283 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.191e-06/0.09611, allocations: 0 / 0.5283 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.09613, allocations: 7.953 kB / 0.5283 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-06/0.09615, allocations: 4 kB / 0.5283 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.979e-05/0.09618, allocations: 0 / 0.5283 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.09636, allocations: 141.7 kB / 0.5284 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.09642, allocations: 22.59 kB / 0.5285 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.09712, allocations: 0.5662 MB / 0.529 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.09718, allocations: 30.56 kB / 0.529 GB, free: 12.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.261e-06/0.09719, allocations: 0 / 0.529 GB, free: 12.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.09734, allocations: 37.62 kB / 0.5291 GB, free: 11.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.0974, allocations: 59.36 kB / 0.5291 GB, free: 11.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.09747, allocations: 93.98 kB / 0.5292 GB, free: 11.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.0975, allocations: 29.7 kB / 0.5292 GB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.09756, allocations: 80.14 kB / 0.5293 GB, free: 11.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.09759, allocations: 3.906 kB / 0.5293 GB, free: 11.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.0976, allocations: 0 / 0.5293 GB, free: 11.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.09778, allocations: 310.8 kB / 0.5296 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.0978, allocations: 0 / 0.5296 GB, free: 11.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.09782, allocations: 7.938 kB / 0.5296 GB, free: 11.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.36e-05/0.09786, allocations: 4.062 kB / 0.5296 GB, free: 11.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-06/0.09787, allocations: 0 / 0.5296 GB, free: 11.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.983e-05/0.09797, allocations: 41.62 kB / 0.5297 GB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.098, allocations: 5.094 kB / 0.5297 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.449e-06/0.09801, allocations: 0 / 0.5297 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.09803, allocations: 0 / 0.5297 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.09809, allocations: 4 kB / 0.5297 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.508e-06/0.09811, allocations: 0 / 0.5297 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.09814, allocations: 3.953 kB / 0.5297 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.09815, allocations: 0 / 0.5297 GB, free: 11.3 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 9.306e-05/0.09826, allocations: 113.9 kB / 0.5298 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.09828, allocations: 0 / 0.5298 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.09841, allocations: 52.67 kB / 0.5298 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-06/0.09843, allocations: 0 / 0.5298 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-06/0.09844, allocations: 0 / 0.5298 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-06/0.09845, allocations: 0 / 0.5298 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.0986, allocations: 149.9 kB / 0.53 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-06/0.09862, allocations: 4.031 kB / 0.53 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.09866, allocations: 7.984 kB / 0.53 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.909e-06/0.09867, allocations: 0 / 0.53 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-06/0.09869, allocations: 0 / 0.53 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/0.0987, allocations: 4 kB / 0.53 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-06/0.09871, allocations: 0 / 0.53 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.72e-05/0.09881, allocations: 57.09 kB / 0.5301 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.09888, allocations: 77.11 kB / 0.5301 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.09891, allocations: 8.016 kB / 0.5301 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.09893, allocations: 4 kB / 0.5301 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.09896, allocations: 4 kB / 0.5301 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-06/0.09897, allocations: 0 / 0.5301 GB, free: 10.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.09902, allocations: 79.22 kB / 0.5302 GB, free: 10.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.09903, allocations: 0 / 0.5302 GB, free: 10.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.09929, allocations: 4 kB / 0.5302 GB, free: 10.65 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.0001861/0.09949, allocations: 111.2 kB / 0.5303 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.319e-05/0.09958, allocations: 11.98 kB / 0.5303 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.753e-06/0.0996, allocations: 3.938 kB / 0.5303 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.058e-05/0.09961, allocations: 0 / 0.5303 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.09973, allocations: 3.953 kB / 0.5303 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001879/0.09993, allocations: 78.77 kB / 0.5304 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1003, allocations: 0.6731 MB / 0.5311 GB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.1003, allocations: 8.125 kB / 0.5311 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.1004, allocations: 7.438 kB / 0.5311 GB, free: 9.695 MB / 378.7 MB Notification: Performance of SimCode: time 1.3e-06/0.1004, allocations: 0 / 0.5311 GB, free: 9.695 MB / 378.7 MB Notification: Performance of Templates: time 0.002378/0.1028, allocations: 284 kB / 0.5314 GB, free: 9.418 MB / 378.7 MB