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.002536/0.002541, allocations: 358.5 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.52/1.52, allocations: 165.8 MB / 183.1 MB, free: 5.426 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.755/3.755, allocations: 410.8 MB / 0.6001 GB, free: 15.12 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.001692/0.001692, allocations: 197.2 kB / 0.6668 GB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004896, allocations: 12 kB / 0.7429 GB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 67.43 MB / 0.8087 GB, free: 28.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.5686, allocations: 98.47 MB / 0.9049 GB, free: 10.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.569, allocations: 75.95 kB / 0.905 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005284/0.5743, allocations: 1.212 MB / 0.9062 GB, free: 8.852 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5744, allocations: 0 / 0.9062 GB, free: 8.852 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.5744, allocations: 0 / 0.9062 GB, free: 8.852 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003019/0.5747, allocations: 327.4 kB / 0.9065 GB, free: 8.484 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5747, allocations: 12.03 kB / 0.9065 GB, free: 8.473 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.5748, allocations: 3.938 kB / 0.9065 GB, free: 8.469 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.5749, allocations: 159.1 kB / 0.9066 GB, free: 8.273 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.5749, allocations: 4 kB / 0.9066 GB, free: 8.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.575, allocations: 0 / 0.9066 GB, free: 8.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.5751, allocations: 37.64 kB / 0.9067 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.5751, allocations: 0 / 0.9067 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5751, allocations: 3.953 kB / 0.9067 GB, free: 8.223 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5751, allocations: 0 / 0.9067 GB, free: 8.223 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.5752, allocations: 3.984 kB / 0.9067 GB, free: 8.219 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.5753, allocations: 145.7 kB / 0.9068 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.038e-05/0.5754, allocations: 21.58 kB / 0.9068 GB, free: 8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.5754, allocations: 4.953 kB / 0.9068 GB, free: 7.992 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.5761, allocations: 0.5622 MB / 0.9074 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.5761, allocations: 38.55 kB / 0.9074 GB, free: 7.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.5761, allocations: 3.938 kB / 0.9074 GB, free: 7.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.5763, allocations: 33.7 kB / 0.9075 GB, free: 7.211 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.5763, allocations: 55.36 kB / 0.9075 GB, free: 7.145 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/0.5764, allocations: 93.98 kB / 0.9076 GB, free: 7.043 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5764, allocations: 25.7 kB / 0.9076 GB, free: 7.012 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.5764, allocations: 80.14 kB / 0.9077 GB, free: 6.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.5765, allocations: 7.906 kB / 0.9077 GB, free: 6.922 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.5765, allocations: 0 / 0.9077 GB, free: 6.922 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5766, allocations: 310.8 kB / 0.908 GB, free: 6.609 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.5766, allocations: 0 / 0.908 GB, free: 6.609 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-06/0.5767, allocations: 3.984 kB / 0.908 GB, free: 6.605 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/0.5767, allocations: 4 kB / 0.908 GB, free: 6.602 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5767, allocations: 4.062 kB / 0.908 GB, free: 6.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.299e-05/0.5768, allocations: 37.64 kB / 0.9081 GB, free: 6.555 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5768, allocations: 10.5 kB / 0.9081 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5768, allocations: 0 / 0.9081 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5768, allocations: 0 / 0.9081 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.5769, allocations: 4 kB / 0.9081 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.5769, allocations: 0 / 0.9081 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.5769, allocations: 3.953 kB / 0.9081 GB, free: 6.539 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.577, allocations: 7.938 kB / 0.9081 GB, free: 6.531 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 (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.395e-05/0.5771, allocations: 117.4 kB / 0.9082 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.5771, allocations: 3.938 kB / 0.9082 GB, free: 6.406 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.5772, allocations: 40.77 kB / 0.9082 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5772, allocations: 4 kB / 0.9082 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5772, allocations: 0 / 0.9082 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5772, allocations: 0 / 0.9082 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.5774, allocations: 149.6 kB / 0.9084 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5774, allocations: 0 / 0.9084 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.5774, allocations: 8.031 kB / 0.9084 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.5774, allocations: 0 / 0.9084 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.5774, allocations: 0 / 0.9084 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5774, allocations: 0 / 0.9084 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5774, allocations: 0 / 0.9084 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.5775, allocations: 65.08 kB / 0.9085 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.5776, allocations: 77.11 kB / 0.9085 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.5776, allocations: 32 / 0.9085 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.259e-05/0.5777, allocations: 4 kB / 0.9085 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.5777, allocations: 3.938 kB / 0.9085 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.5777, allocations: 0 / 0.9085 GB, free: 5.973 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.283e-05/0.5777, allocations: 79.28 kB / 0.9086 GB, free: 5.895 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5777, allocations: 0 / 0.9086 GB, free: 5.895 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.578, allocations: 11.94 kB / 0.9086 GB, free: 5.883 MB / 458.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.0001843/0.5782, allocations: 107.2 kB / 0.9087 GB, free: 5.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.5783, allocations: 8 kB / 0.9087 GB, free: 5.762 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5783, allocations: 0 / 0.9087 GB, free: 5.762 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.5783, allocations: 4 kB / 0.9087 GB, free: 5.758 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.5785, allocations: 7.953 kB / 0.9088 GB, free: 5.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.5787, allocations: 78.69 kB / 0.9088 GB, free: 5.645 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.579, allocations: 0.6692 MB / 0.9095 GB, free: 4.949 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.579, allocations: 8.125 kB / 0.9095 GB, free: 4.941 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.5791, allocations: 11.38 kB / 0.9095 GB, free: 4.93 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5791, allocations: 0 / 0.9095 GB, free: 4.93 MB / 458.7 MB Notification: Performance of Templates: time 0.002509/0.5816, allocations: 276 kB / 0.9098 GB, free: 4.66 MB / 458.7 MB