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.003761/0.003761, allocations: 355.9 kB / 15.94 MB, free: 6.211 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.231/1.231, allocations: 165.8 MB / 182.5 MB, free: 5.93 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.874/3.874, allocations: 410.7 MB / 0.5995 GB, free: 37.1 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 176.5 kB / 0.6662 GB, free: 1.809 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009597/0.0009598, allocations: 13.22 kB / 0.7423 GB, free: 73.84 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1429, allocations: 67.45 MB / 0.8082 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0005486/0.1435, allocations: 324.2 kB / 0.8085 GB, free: 16.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1446, allocations: 1.021 MB / 0.8095 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.1447, allocations: 0 / 0.8095 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.414e-06/0.1447, allocations: 0 / 0.8095 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.941e-05/0.1447, allocations: 0 / 0.8095 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.145, allocations: 63.75 kB / 0.8095 GB, free: 15.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.1451, allocations: 15.97 kB / 0.8095 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.081e-05/0.1451, allocations: 7.984 kB / 0.8095 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.1451, allocations: 4 kB / 0.8095 GB, free: 15.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.1452, allocations: 15.92 kB / 0.8096 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1452, allocations: 0 / 0.8096 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.1454, allocations: 87.89 kB / 0.8096 GB, free: 15.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1454, allocations: 4 kB / 0.8096 GB, free: 15.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.1455, allocations: 29.7 kB / 0.8097 GB, free: 15.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.66e-05/0.1456, allocations: 39.94 kB / 0.8097 GB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1456, allocations: 0 / 0.8097 GB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.698e-06/0.1456, allocations: 4 kB / 0.8097 GB, free: 15.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.155e-06/0.1456, allocations: 0 / 0.8097 GB, free: 15.54 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.0003058/0.1459, allocations: 335.4 kB / 0.81 GB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.146, allocations: 8.031 kB / 0.81 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.146, allocations: 7.906 kB / 0.8101 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.1461, allocations: 171.2 kB / 0.8102 GB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1461, allocations: 4 kB / 0.8102 GB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1462, allocations: 4 kB / 0.8102 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1463, allocations: 49.67 kB / 0.8103 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.452e-06/0.1463, allocations: 3.953 kB / 0.8103 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1463, allocations: 0 / 0.8103 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-06/0.1463, allocations: 0 / 0.8103 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.1464, allocations: 12 kB / 0.8103 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.1465, allocations: 157.7 kB / 0.8104 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.1466, allocations: 46.5 kB / 0.8105 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.1467, allocations: 20.98 kB / 0.8105 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/0.1471, allocations: 0.5622 MB / 0.8111 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1471, allocations: 30.56 kB / 0.8111 GB, free: 13.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.942e-06/0.1471, allocations: 0 / 0.8111 GB, free: 13.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001725/0.1489, allocations: 462.5 kB / 0.8115 GB, free: 13.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.1489, allocations: 51.41 kB / 0.8116 GB, free: 13.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.1489, allocations: 97.8 kB / 0.8117 GB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.149, allocations: 29.83 kB / 0.8117 GB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.732e-05/0.149, allocations: 84.08 kB / 0.8118 GB, free: 13.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.149, allocations: 31.55 kB / 0.8118 GB, free: 13.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-06/0.1491, allocations: 4 kB / 0.8118 GB, free: 13.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.1491, allocations: 310.8 kB / 0.8121 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/0.1492, allocations: 23.98 kB / 0.8121 GB, free: 12.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.1492, allocations: 12 kB / 0.8121 GB, free: 12.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.1493, allocations: 20 kB / 0.8122 GB, free: 12.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-06/0.1493, allocations: 0 / 0.8122 GB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001697/0.1495, allocations: 93.53 kB / 0.8122 GB, free: 12.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1495, allocations: 11.98 kB / 0.8123 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.499e-06/0.1495, allocations: 7.953 kB / 0.8123 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1496, allocations: 0 / 0.8123 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1497, allocations: 12 kB / 0.8123 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.648e-06/0.1497, allocations: 0 / 0.8123 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.1498, allocations: 0 / 0.8123 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1498, allocations: 4 kB / 0.8123 GB, free: 12.52 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 5.884e-05/0.1499, allocations: 113.8 kB / 0.8124 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.1499, allocations: 11.98 kB / 0.8124 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1501, allocations: 97.62 kB / 0.8125 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-06/0.1502, allocations: 3.953 kB / 0.8125 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1502, allocations: 0 / 0.8125 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-06/0.1502, allocations: 0 / 0.8125 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1503, allocations: 181.6 kB / 0.8127 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-06/0.1503, allocations: 288 / 0.8127 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1504, allocations: 15.94 kB / 0.8127 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1505, allocations: 0 / 0.8127 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1505, allocations: 11.86 kB / 0.8127 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.294e-06/0.1505, allocations: 3.953 kB / 0.8127 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.579e-06/0.1505, allocations: 4 kB / 0.8127 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1508, allocations: 129 kB / 0.8128 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.1508, allocations: 81.17 kB / 0.8129 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1508, allocations: 0 / 0.8129 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.1509, allocations: 8.031 kB / 0.8129 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.1509, allocations: 7.938 kB / 0.8129 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1509, allocations: 4 kB / 0.8129 GB, free: 11.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.978e-05/0.151, allocations: 75.28 kB / 0.813 GB, free: 11.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.151, allocations: 0 / 0.813 GB, free: 11.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.1513, allocations: 28 kB / 0.813 GB, free: 11.66 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.000168/0.1514, allocations: 127.2 kB / 0.8131 GB, free: 11.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1516, allocations: 47.98 kB / 0.8132 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.558e-06/0.1516, allocations: 0 / 0.8132 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.888e-05/0.1517, allocations: 35.92 kB / 0.8132 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.1519, allocations: 0 / 0.8132 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.1522, allocations: 148.7 kB / 0.8134 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.1524, allocations: 0.6888 MB / 0.814 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.557e-05/0.1525, allocations: 8.578 kB / 0.814 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1525, allocations: 15.38 kB / 0.8141 GB, free: 10.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.324e-06/0.1525, allocations: 0 / 0.8141 GB, free: 10.54 MB / 378.7 MB Notification: Performance of Templates: time 0.003242/0.1558, allocations: 0.7901 MB / 0.8148 GB, free: 9.75 MB / 378.7 MB