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.003724/0.00373, allocations: 355.4 kB / 15.94 MB, free: 6.207 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.548/1.548, allocations: 165.8 MB / 182.5 MB, free: 5.398 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.901/3.901, allocations: 410.8 MB / 0.5995 GB, free: 15.1 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.001705/0.001705, allocations: 197.2 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004628, allocations: 15.94 kB / 0.7423 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3272, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005451/0.3278, allocations: 300.3 kB / 0.8085 GB, free: 28.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3288, allocations: 0.9439 MB / 0.8094 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.192e-05/0.3289, allocations: 0 / 0.8094 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.3289, allocations: 0 / 0.8094 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.3289, allocations: 0 / 0.8094 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3292, allocations: 47.81 kB / 0.8094 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.061e-05/0.3292, allocations: 4 kB / 0.8094 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.3293, allocations: 4 kB / 0.8094 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.293e-05/0.3293, allocations: 0 / 0.8094 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.3293, allocations: 3.984 kB / 0.8094 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.656e-06/0.3294, allocations: 0 / 0.8094 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.3295, allocations: 95.78 kB / 0.8095 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-06/0.3296, allocations: 0 / 0.8095 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.3296, allocations: 25.7 kB / 0.8095 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.34e-05/0.3297, allocations: 27.97 kB / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.748e-06/0.3297, allocations: 4 kB / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3297, allocations: 0 / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.563e-06/0.3297, allocations: 4 kB / 0.8096 GB, free: 27.33 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.0002019/0.3299, allocations: 319.4 kB / 0.8099 GB, free: 26.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.33, allocations: 12.03 kB / 0.8099 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.33, allocations: 0 / 0.8099 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.228e-05/0.3301, allocations: 163.1 kB / 0.8101 GB, free: 26.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3301, allocations: 4 kB / 0.8101 GB, free: 26.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-06/0.3301, allocations: 0 / 0.8101 GB, free: 26.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.529e-05/0.3302, allocations: 29.7 kB / 0.8101 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.522e-06/0.3302, allocations: 0 / 0.8101 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-06/0.3302, allocations: 11.89 kB / 0.8101 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-06/0.3303, allocations: 0 / 0.8101 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.3303, allocations: 0 / 0.8101 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.574e-05/0.3304, allocations: 153.7 kB / 0.8102 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.3305, allocations: 14.58 kB / 0.8103 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.3305, allocations: 4.953 kB / 0.8103 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.3309, allocations: 0.5661 MB / 0.8108 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.3309, allocations: 30.56 kB / 0.8108 GB, free: 25.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.879e-06/0.331, allocations: 0 / 0.8108 GB, free: 25.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001124/0.3311, allocations: 37.62 kB / 0.8109 GB, free: 25.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.3311, allocations: 55.36 kB / 0.8109 GB, free: 25.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.167e-05/0.3311, allocations: 89.86 kB / 0.811 GB, free: 25.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.805e-06/0.3312, allocations: 25.7 kB / 0.811 GB, free: 25.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/0.3312, allocations: 96.19 kB / 0.8111 GB, free: 25.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3312, allocations: 7.906 kB / 0.8111 GB, free: 25.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-06/0.3312, allocations: 0 / 0.8111 GB, free: 25.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.3313, allocations: 314.8 kB / 0.8114 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.3313, allocations: 0 / 0.8114 GB, free: 25.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.3313, allocations: 0 / 0.8114 GB, free: 25.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.576e-05/0.3313, allocations: 4 kB / 0.8114 GB, free: 25.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-06/0.3314, allocations: 0 / 0.8114 GB, free: 25.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.391e-05/0.3314, allocations: 41.69 kB / 0.8115 GB, free: 25.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3315, allocations: 8 kB / 0.8115 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-06/0.3315, allocations: 0 / 0.8115 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3315, allocations: 0 / 0.8115 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.3315, allocations: 0 / 0.8115 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.964e-06/0.3316, allocations: 0 / 0.8115 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.3316, allocations: 3.953 kB / 0.8115 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-06/0.3316, allocations: 4 kB / 0.8115 GB, free: 25.02 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.716e-05/0.3317, allocations: 109.8 kB / 0.8116 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-06/0.3317, allocations: 4.031 kB / 0.8116 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3318, allocations: 40.75 kB / 0.8116 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3319, allocations: 4 kB / 0.8117 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3319, allocations: 0 / 0.8117 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-06/0.3319, allocations: 0 / 0.8117 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.332, allocations: 147.8 kB / 0.8118 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.226e-06/0.332, allocations: 3.984 kB / 0.8118 GB, free: 24.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.3321, allocations: 8 kB / 0.8118 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.96e-06/0.3321, allocations: 32 / 0.8118 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-06/0.3321, allocations: 4 kB / 0.8118 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.788e-06/0.3321, allocations: 0 / 0.8118 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-06/0.3321, allocations: 0 / 0.8118 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.876e-05/0.3322, allocations: 61.09 kB / 0.8119 GB, free: 24.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3323, allocations: 81.09 kB / 0.8119 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.3323, allocations: 0 / 0.8119 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.3323, allocations: 4 kB / 0.8119 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.3323, allocations: 4.031 kB / 0.8119 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.3324, allocations: 4 kB / 0.812 GB, free: 24.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.3324, allocations: 83.22 kB / 0.812 GB, free: 24.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.27e-07/0.3324, allocations: 0 / 0.812 GB, free: 24.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.3327, allocations: 4 kB / 0.812 GB, free: 24.37 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.0001436/0.3328, allocations: 115.2 kB / 0.8121 GB, free: 24.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.078e-05/0.3329, allocations: 4 kB / 0.8122 GB, free: 24.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.644e-06/0.3329, allocations: 4.062 kB / 0.8122 GB, free: 24.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.333, allocations: 4 kB / 0.8122 GB, free: 24.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.3331, allocations: 7.891 kB / 0.8122 GB, free: 24.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001335/0.3333, allocations: 73.27 kB / 0.8122 GB, free: 24.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3334, allocations: 0.677 MB / 0.8129 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.442e-05/0.3334, allocations: 0 / 0.8129 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.3334, allocations: 15.44 kB / 0.8129 GB, free: 23.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.42e-06/0.3335, allocations: 4.062 kB / 0.8129 GB, free: 23.41 MB / 378.7 MB Notification: Performance of Templates: time 0.00226/0.3357, allocations: 285 kB / 0.8132 GB, free: 23.13 MB / 378.7 MB