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.003976/0.003982, allocations: 357.2 kB / 16.59 MB, free: 5.559 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.387/1.387, allocations: 165.8 MB / 183.1 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 3.743/3.743, allocations: 410.7 MB / 0.6001 GB, free: 15.08 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.001757/0.001758, allocations: 199.8 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004653, allocations: 12 kB / 0.7429 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3938, allocations: 67.44 MB / 0.8088 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000673/0.3945, allocations: 303.3 kB / 0.8091 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3957, allocations: 0.9413 MB / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-06/0.3958, allocations: 0 / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.3958, allocations: 8 kB / 0.81 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.3958, allocations: 3.938 kB / 0.81 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.3961, allocations: 35.89 kB / 0.81 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.3962, allocations: 4 kB / 0.81 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.3962, allocations: 3.984 kB / 0.81 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.3962, allocations: 0 / 0.81 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.3963, allocations: 0 / 0.81 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.3963, allocations: 3.938 kB / 0.81 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.3965, allocations: 91.89 kB / 0.8101 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.3965, allocations: 7.938 kB / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.3966, allocations: 25.7 kB / 0.8101 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.416e-05/0.3967, allocations: 35.95 kB / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3967, allocations: 0 / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3967, allocations: 0 / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3967, allocations: 0 / 0.8102 GB, free: 27.3 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.0002128/0.3969, allocations: 319.4 kB / 0.8105 GB, free: 26.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.397, allocations: 8.031 kB / 0.8105 GB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.397, allocations: 4 kB / 0.8105 GB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.637e-05/0.3971, allocations: 163.1 kB / 0.8107 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3971, allocations: 4 kB / 0.8107 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.3971, allocations: 0 / 0.8107 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.805e-05/0.3972, allocations: 29.7 kB / 0.8107 GB, free: 26.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3972, allocations: 3.938 kB / 0.8107 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3972, allocations: 3.953 kB / 0.8107 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3973, allocations: 0 / 0.8107 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.3973, allocations: 7.938 kB / 0.8107 GB, free: 26.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.3974, allocations: 149.7 kB / 0.8108 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.94e-05/0.3974, allocations: 18.58 kB / 0.8109 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.3975, allocations: 4.859 kB / 0.8109 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.398, allocations: 0.5584 MB / 0.8114 GB, free: 25.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.398, allocations: 34.56 kB / 0.8114 GB, free: 25.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.398, allocations: 3.938 kB / 0.8114 GB, free: 25.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.3982, allocations: 41.62 kB / 0.8115 GB, free: 25.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.3982, allocations: 55.36 kB / 0.8115 GB, free: 25.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.003e-05/0.3982, allocations: 93.86 kB / 0.8116 GB, free: 25.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.3982, allocations: 25.7 kB / 0.8117 GB, free: 25.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.369e-05/0.3983, allocations: 80.14 kB / 0.8117 GB, free: 25.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.3983, allocations: 7.906 kB / 0.8117 GB, free: 25.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.3983, allocations: 0 / 0.8117 GB, free: 25.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.3984, allocations: 310.8 kB / 0.812 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.3984, allocations: 4.125 kB / 0.812 GB, free: 25.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.3984, allocations: 0 / 0.812 GB, free: 25.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.695e-05/0.3984, allocations: 4 kB / 0.812 GB, free: 25.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3984, allocations: 0 / 0.812 GB, free: 25.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.689e-05/0.3985, allocations: 33.69 kB / 0.8121 GB, free: 25.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3985, allocations: 11.94 kB / 0.8121 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3985, allocations: 0 / 0.8121 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3986, allocations: 0 / 0.8121 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.3986, allocations: 0 / 0.8121 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3986, allocations: 4.094 kB / 0.8121 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.51e-05/0.3986, allocations: 7.953 kB / 0.8121 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3987, allocations: 4 kB / 0.8121 GB, free: 24.98 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.918e-05/0.3987, allocations: 106.9 kB / 0.8122 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.3987, allocations: 0 / 0.8122 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.3988, allocations: 36.81 kB / 0.8122 GB, free: 24.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3989, allocations: 4 kB / 0.8122 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3989, allocations: 4.031 kB / 0.8122 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.3989, allocations: 83.2 kB / 0.8123 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3989, allocations: 3.953 kB / 0.8123 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.3989, allocations: 8 kB / 0.8123 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.399, allocations: 3.984 kB / 0.8123 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.636e-05/0.399, allocations: 108.9 kB / 0.8124 GB, free: 24.59 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.202e-05/0.3991, allocations: 210.9 kB / 0.8126 GB, free: 24.37 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.703e-05/0.3991, allocations: 0 / 0.8126 GB, free: 24.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.449e-05/0.3992, allocations: 79.22 kB / 0.8127 GB, free: 24.29 MB / 378.7 MB Notification: Performance of Backend: time 4.91e-07/0.3992, allocations: 3.938 kB / 0.8127 GB, free: 24.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.3996, allocations: 102.3 kB / 0.8128 GB, free: 24.18 MB / 378.7 MB Notification: Performance of SimCode: time 0.0002379/0.3998, allocations: 0.5234 MB / 0.8133 GB, free: 23.61 MB / 378.7 MB Notification: Performance of Templates: time 0.002745/0.4026, allocations: 0.5087 MB / 0.8138 GB, free: 23.11 MB / 378.7 MB