Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 106.5 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 198 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3375, allocations: 80.19 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001798/0.3393, allocations: 0.5833 MB / 0.5821 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3406, allocations: 1.243 MB / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.3407, allocations: 0 / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.3407, allocations: 4.531 kB / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.479e-06/0.3407, allocations: 1.406 kB / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.3411, allocations: 55.23 kB / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.485e-05/0.3411, allocations: 10.95 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.3412, allocations: 1.438 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.3412, allocations: 0 / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.3413, allocations: 1.562 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.3413, allocations: 0.5312 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3415, allocations: 98.95 kB / 0.5835 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.3415, allocations: 0 / 0.5835 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.3415, allocations: 1.125 kB / 0.5835 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3416, allocations: 50.94 kB / 0.5835 GB, free: 26.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3416, allocations: 1.188 kB / 0.5835 GB, free: 26.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3416, allocations: 0 / 0.5835 GB, free: 26.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3417, allocations: 2.5 kB / 0.5835 GB, free: 26.13 MB / 446.1 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.0002438/0.3419, allocations: 321.4 kB / 0.5838 GB, free: 25.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3419, allocations: 10.09 kB / 0.5838 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.342, allocations: 0.9375 kB / 0.5838 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.14e-05/0.342, allocations: 164.3 kB / 0.584 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3421, allocations: 6.719 kB / 0.584 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3421, allocations: 384 / 0.584 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.981e-05/0.3422, allocations: 40.53 kB / 0.584 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3422, allocations: 4.719 kB / 0.584 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3422, allocations: 0 / 0.584 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3422, allocations: 6.016 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.3422, allocations: 4.125 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.024e-05/0.3423, allocations: 146.6 kB / 0.5842 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.3424, allocations: 20.89 kB / 0.5842 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.3424, allocations: 6.516 kB / 0.5842 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.3428, allocations: 0.5618 MB / 0.5848 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3428, allocations: 38.53 kB / 0.5848 GB, free: 24.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3428, allocations: 0 / 0.5848 GB, free: 24.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.343, allocations: 31.11 kB / 0.5848 GB, free: 24.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.343, allocations: 56.66 kB / 0.5849 GB, free: 24.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.844e-05/0.343, allocations: 95.7 kB / 0.585 GB, free: 24.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.343, allocations: 25.7 kB / 0.585 GB, free: 24.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.222e-05/0.3431, allocations: 80.14 kB / 0.5851 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3431, allocations: 1.219 kB / 0.5851 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.3431, allocations: 17.73 kB / 0.5851 GB, free: 24.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.3432, allocations: 314.8 kB / 0.5854 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.3432, allocations: 2.312 kB / 0.5854 GB, free: 23.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-06/0.3432, allocations: 1.156 kB / 0.5854 GB, free: 23.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.3432, allocations: 13.55 kB / 0.5854 GB, free: 23.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3432, allocations: 0 / 0.5854 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.316e-05/0.3433, allocations: 31.95 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3433, allocations: 8.875 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.3433, allocations: 0.625 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3433, allocations: 1.5 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.3434, allocations: 5.984 kB / 0.5854 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3434, allocations: 1.031 kB / 0.5855 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-06/0.3434, allocations: 3.938 kB / 0.5855 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3434, allocations: 1.156 kB / 0.5855 GB, free: 23.88 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.3434, allocations: 108.7 kB / 0.5856 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.3435, allocations: 3.938 kB / 0.5856 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.3435, allocations: 48.75 kB / 0.5856 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3435, allocations: 0.8438 kB / 0.5856 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3436, allocations: 0 / 0.5856 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3436, allocations: 1.281 kB / 0.5856 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.958e-05/0.3436, allocations: 153.2 kB / 0.5858 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3436, allocations: 0 / 0.5858 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.3436, allocations: 1.5 kB / 0.5858 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3437, allocations: 3.938 kB / 0.5858 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.3437, allocations: 1.375 kB / 0.5858 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3437, allocations: 1.188 kB / 0.5858 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3437, allocations: 7.922 kB / 0.5858 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.043e-05/0.3437, allocations: 61.36 kB / 0.5858 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.3437, allocations: 78.67 kB / 0.5859 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.3438, allocations: 3.938 kB / 0.5859 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.3438, allocations: 0.5938 kB / 0.5859 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.3438, allocations: 6.734 kB / 0.5859 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.3438, allocations: 0 / 0.5859 GB, free: 23.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.046e-05/0.3438, allocations: 76.62 kB / 0.586 GB, free: 23.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 0.6562 kB / 0.586 GB, free: 23.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.344, allocations: 4.875 kB / 0.586 GB, free: 23.26 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.3441, allocations: 102.5 kB / 0.5861 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.3442, allocations: 11.78 kB / 0.5861 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3442, allocations: 1.25 kB / 0.5861 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.502e-06/0.3442, allocations: 3.562 kB / 0.5861 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.3444, allocations: 5.266 kB / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.3446, allocations: 77.92 kB / 0.5862 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.3447, allocations: 0.6705 MB / 0.5868 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.049e-05/0.3447, allocations: 4.375 kB / 0.5868 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.3447, allocations: 8.688 kB / 0.5869 GB, free: 22.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3448, allocations: 0 / 0.5869 GB, free: 22.37 MB / 446.1 MB Notification: Performance of Templates: time 0.001979/0.3467, allocations: 290.7 kB / 0.5871 GB, free: 22.23 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)