Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001379, allocations: 182.7 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.8387/0.8387, allocations: 82.93 MB / 99.42 MB, free: 3.234 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.235/2.235, allocations: 205.4 MB / 325.4 MB, free: 3.348 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.001092/0.001092, allocations: 92.62 kB / 393.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004527, allocations: 12 kB / 471.6 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09093, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007005/0.09169, allocations: 324.2 kB / 0.5267 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.0933, allocations: 1.03 MB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.09334, allocations: 0 / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.108e-06/0.09336, allocations: 0 / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.087e-05/0.09339, allocations: 0 / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.09371, allocations: 51.81 kB / 0.5277 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.062e-05/0.09377, allocations: 7.984 kB / 0.5277 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.09381, allocations: 7.984 kB / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.09385, allocations: 15.94 kB / 0.5278 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.09393, allocations: 7.984 kB / 0.5278 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.09396, allocations: 0 / 0.5278 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.09417, allocations: 83.91 kB / 0.5278 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.0942, allocations: 3.984 kB / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.09424, allocations: 33.64 kB / 0.5279 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.09436, allocations: 35.95 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.83e-06/0.09437, allocations: 0 / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.979e-06/0.09438, allocations: 0 / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.0944, allocations: 0 / 0.5279 GB, free: 13.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004593/0.09487, allocations: 349.1 kB / 0.5283 GB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.09492, allocations: 8.031 kB / 0.5283 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.09496, allocations: 7.906 kB / 0.5283 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.09511, allocations: 163.3 kB / 0.5284 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.09514, allocations: 0 / 0.5284 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.09517, allocations: 4 kB / 0.5284 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.09529, allocations: 41.69 kB / 0.5285 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.09532, allocations: 0 / 0.5285 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.09534, allocations: 11.95 kB / 0.5285 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-06/0.09536, allocations: 0 / 0.5285 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.09542, allocations: 15.92 kB / 0.5285 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.09563, allocations: 157.7 kB / 0.5286 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.09576, allocations: 42.62 kB / 0.5287 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/0.09638, allocations: 0.5583 MB / 0.5292 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.09644, allocations: 34.69 kB / 0.5293 GB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.261e-06/0.09645, allocations: 3.938 kB / 0.5293 GB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001998/0.09846, allocations: 466 kB / 0.5297 GB, free: 11.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.09854, allocations: 55.41 kB / 0.5298 GB, free: 11.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.09863, allocations: 93.86 kB / 0.5299 GB, free: 11.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.09867, allocations: 25.7 kB / 0.5299 GB, free: 11.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.09872, allocations: 80.14 kB / 0.53 GB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.09878, allocations: 31.55 kB / 0.53 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.09879, allocations: 0 / 0.53 GB, free: 10.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.09897, allocations: 319 kB / 0.5303 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.09904, allocations: 19.98 kB / 0.5303 GB, free: 10.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.0991, allocations: 16 kB / 0.5303 GB, free: 10.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/0.09917, allocations: 20 kB / 0.5303 GB, free: 10.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-06/0.09918, allocations: 0 / 0.5303 GB, free: 10.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002067/0.0994, allocations: 93.52 kB / 0.5304 GB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.09943, allocations: 4 kB / 0.5304 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.926e-06/0.09945, allocations: 4 kB / 0.5304 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.09947, allocations: 0 / 0.5304 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.09961, allocations: 19.95 kB / 0.5305 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.635e-06/0.09963, allocations: 3.938 kB / 0.5305 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.09968, allocations: 0 / 0.5305 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.0997, allocations: 4 kB / 0.5305 GB, free: 10.46 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 (9): * Single equations (assignments): 9 * 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 0.0001022/0.09981, allocations: 113.8 kB / 0.5306 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.09984, allocations: 4 kB / 0.5306 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1001, allocations: 101.6 kB / 0.5307 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-06/0.1001, allocations: 288 / 0.5307 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.297e-06/0.1002, allocations: 4.391 kB / 0.5307 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.64e-06/0.1002, allocations: 0 / 0.5307 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1004, allocations: 169.6 kB / 0.5308 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-06/0.1004, allocations: 8 kB / 0.5308 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.1005, allocations: 23.92 kB / 0.5309 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.702e-06/0.1006, allocations: 0 / 0.5309 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1006, allocations: 7.938 kB / 0.5309 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.326e-06/0.1006, allocations: 0 / 0.5309 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.73e-06/0.1006, allocations: 0 / 0.5309 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1009, allocations: 137 kB / 0.531 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.101, allocations: 77.11 kB / 0.5311 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.101, allocations: 0 / 0.5311 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1011, allocations: 8.031 kB / 0.5311 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1011, allocations: 11.91 kB / 0.5311 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1012, allocations: 8.062 kB / 0.5311 GB, free: 9.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.1012, allocations: 79.23 kB / 0.5312 GB, free: 9.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.69e-07/0.1012, allocations: 0 / 0.5312 GB, free: 9.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.1015, allocations: 28 kB / 0.5312 GB, free: 9.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0002182/0.1018, allocations: 115.2 kB / 0.5313 GB, free: 9.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1019, allocations: 47.98 kB / 0.5314 GB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.102, allocations: 0 / 0.5314 GB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.1021, allocations: 36.02 kB / 0.5314 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.1022, allocations: 4 kB / 0.5314 GB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.1026, allocations: 153 kB / 0.5316 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.103, allocations: 0.6809 MB / 0.5322 GB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1031, allocations: 16.17 kB / 0.5322 GB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.1031, allocations: 15.42 kB / 0.5322 GB, free: 8.477 MB / 378.7 MB Notification: Performance of SimCode: time 4.563e-06/0.1032, allocations: 4 kB / 0.5322 GB, free: 8.473 MB / 378.7 MB Notification: Performance of Templates: time 0.003575/0.1067, allocations: 0.7726 MB / 0.533 GB, free: 7.699 MB / 378.7 MB