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.002567/0.00257, allocations: 357.8 kB / 16.58 MB, free: 5.566 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.596/1.596, allocations: 165.8 MB / 183.1 MB, free: 5.504 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.919/3.919, allocations: 410.8 MB / 0.6001 GB, free: 15.21 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.001772/0.001771, allocations: 188.9 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004528, allocations: 15.94 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4144, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.5849, allocations: 98.62 MB / 0.9051 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.5853, allocations: 87.94 kB / 0.9051 GB, free: 9.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008893/0.5942, allocations: 1.843 MB / 0.9069 GB, free: 8.094 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5943, allocations: 0 / 0.9069 GB, free: 8.094 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.5943, allocations: 0 / 0.9069 GB, free: 8.094 MB / 458.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.0004387/0.5948, allocations: 355.2 kB / 0.9073 GB, free: 7.699 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5948, allocations: 8.031 kB / 0.9073 GB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.5949, allocations: 11.89 kB / 0.9073 GB, free: 7.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.595, allocations: 167 kB / 0.9075 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.595, allocations: 7.984 kB / 0.9075 GB, free: 7.469 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.5951, allocations: 4 kB / 0.9075 GB, free: 7.465 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5952, allocations: 45.69 kB / 0.9075 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5952, allocations: 0 / 0.9075 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5953, allocations: 3.953 kB / 0.9075 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5953, allocations: 0 / 0.9075 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.5953, allocations: 12 kB / 0.9075 GB, free: 7.398 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.5956, allocations: 157.7 kB / 0.9077 GB, free: 7.195 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.5957, allocations: 50.56 kB / 0.9077 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.5958, allocations: 20.98 kB / 0.9077 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/0.5963, allocations: 0.5583 MB / 0.9083 GB, free: 6.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5964, allocations: 30.56 kB / 0.9083 GB, free: 6.387 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.5964, allocations: 0 / 0.9083 GB, free: 6.387 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.002607/0.599, allocations: 462.4 kB / 0.9088 GB, free: 5.883 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.5991, allocations: 51.41 kB / 0.9088 GB, free: 5.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.5992, allocations: 101.8 kB / 0.9089 GB, free: 5.711 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5992, allocations: 29.7 kB / 0.9089 GB, free: 5.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.5993, allocations: 80.14 kB / 0.909 GB, free: 5.594 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.5993, allocations: 31.55 kB / 0.909 GB, free: 5.562 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.5994, allocations: 0 / 0.909 GB, free: 5.562 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5995, allocations: 310.8 kB / 0.9093 GB, free: 5.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.5996, allocations: 23.98 kB / 0.9094 GB, free: 5.227 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.5996, allocations: 15.94 kB / 0.9094 GB, free: 5.211 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/0.5997, allocations: 24 kB / 0.9094 GB, free: 5.188 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5997, allocations: 4.125 kB / 0.9094 GB, free: 5.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002311/0.6, allocations: 81.62 kB / 0.9095 GB, free: 5.098 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.6, allocations: 10.66 kB / 0.9095 GB, free: 5.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6, allocations: 7.984 kB / 0.9095 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.6001, allocations: 3.953 kB / 0.9095 GB, free: 5.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.6003, allocations: 12 kB / 0.9095 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.6003, allocations: 0 / 0.9095 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.6003, allocations: 4 kB / 0.9095 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.6004, allocations: 4 kB / 0.9095 GB, free: 5.059 MB / 458.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.0001117/0.6005, allocations: 122.4 kB / 0.9096 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.6005, allocations: 3.906 kB / 0.9096 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.6009, allocations: 105.6 kB / 0.9097 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6009, allocations: 0 / 0.9097 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6009, allocations: 3.953 kB / 0.9097 GB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6009, allocations: 4 kB / 0.9097 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.6011, allocations: 173.6 kB / 0.9099 GB, free: 4.594 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.6012, allocations: 0 / 0.9099 GB, free: 4.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.6014, allocations: 15.94 kB / 0.9099 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.6014, allocations: 0 / 0.9099 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.6014, allocations: 3.984 kB / 0.9099 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6014, allocations: 0 / 0.9099 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6014, allocations: 7.953 kB / 0.9099 GB, free: 4.566 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.6018, allocations: 137.1 kB / 0.9101 GB, free: 4.414 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.6018, allocations: 81.02 kB / 0.9101 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.6018, allocations: 0 / 0.9101 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.6019, allocations: 4.312 kB / 0.9102 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.602, allocations: 3.984 kB / 0.9102 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.602, allocations: 7.953 kB / 0.9102 GB, free: 4.301 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.6021, allocations: 83.22 kB / 0.9102 GB, free: 4.219 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6021, allocations: 0 / 0.9102 GB, free: 4.219 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003125/0.6024, allocations: 31.94 kB / 0.9103 GB, free: 4.188 MB / 458.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.0002616/0.6027, allocations: 139.3 kB / 0.9104 GB, free: 4.039 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.6029, allocations: 43.98 kB / 0.9104 GB, free: 3.996 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6029, allocations: 0 / 0.9104 GB, free: 3.996 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.603, allocations: 39.91 kB / 0.9105 GB, free: 3.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.6032, allocations: 7.391 kB / 0.9105 GB, free: 3.953 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.6038, allocations: 148.6 kB / 0.9106 GB, free: 3.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.6041, allocations: 0.6888 MB / 0.9113 GB, free: 3.066 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.6042, allocations: 12.17 kB / 0.9113 GB, free: 3.051 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.6043, allocations: 15.44 kB / 0.9113 GB, free: 3.035 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6043, allocations: 0 / 0.9113 GB, free: 3.035 MB / 458.7 MB Notification: Performance of Templates: time 0.004078/0.6084, allocations: 0.7587 MB / 0.9121 GB, free: 2.281 MB / 458.7 MB