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.004857/0.004857, allocations: 94.64 kB / 15.73 MB, free: 6.039 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.001054/0.001054, allocations: 201 kB / 16.68 MB, free: 5.969 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7693/0.7693, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001799, allocations: 60.08 kB / 0.5814 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1913, allocations: 80.21 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001961/0.1933, allocations: 0.5749 MB / 0.6603 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.195, allocations: 1.258 MB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.195, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1951, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.1951, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1955, allocations: 59.81 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.1956, allocations: 0 / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.1956, allocations: 0 / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.1956, allocations: 7.938 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.1957, allocations: 4 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1957, allocations: 3.938 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.196, allocations: 91.89 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.196, allocations: 0 / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.196, allocations: 11.94 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1961, allocations: 43.88 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1962, allocations: 0 / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1962, allocations: 0 / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1962, allocations: 0 / 0.6617 GB, free: 11.41 MB / 0.4981 GB 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.0003074/0.1965, allocations: 331.5 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1965, allocations: 8.031 kB / 0.662 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.1966, allocations: 0.9375 kB / 0.662 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1967, allocations: 160.4 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1967, allocations: 4.375 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.1967, allocations: 384 / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.694e-05/0.1968, allocations: 37.94 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1968, allocations: 0 / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1968, allocations: 0 / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1969, allocations: 7.984 kB / 0.6622 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.1969, allocations: 4 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.197, allocations: 145.7 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.1971, allocations: 18.61 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.1971, allocations: 8.844 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005482/0.1977, allocations: 0.5584 MB / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1977, allocations: 42.44 kB / 0.663 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.1977, allocations: 0 / 0.663 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.1979, allocations: 33.7 kB / 0.663 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1979, allocations: 55.39 kB / 0.6631 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.314e-05/0.1979, allocations: 89.86 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.198, allocations: 25.7 kB / 0.6632 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.198, allocations: 80.14 kB / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.198, allocations: 16.02 kB / 0.6633 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.1981, allocations: 13.72 kB / 0.6633 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.1982, allocations: 314.8 kB / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.1982, allocations: 0 / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.1982, allocations: 0 / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/0.1982, allocations: 12.8 kB / 0.6636 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1982, allocations: 0 / 0.6636 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.905e-05/0.1983, allocations: 41.69 kB / 0.6637 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1983, allocations: 12.03 kB / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1983, allocations: 0 / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1983, allocations: 0 / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.1984, allocations: 4 kB / 0.6637 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1984, allocations: 3.938 kB / 0.6637 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.1984, allocations: 0 / 0.6637 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1984, allocations: 0 / 0.6637 GB, free: 9.055 MB / 0.4981 GB 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 5.859e-05/0.1985, allocations: 106.5 kB / 0.6638 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.1985, allocations: 3.938 kB / 0.6638 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/0.1986, allocations: 52.75 kB / 0.6638 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1986, allocations: 0 / 0.6638 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1986, allocations: 4 kB / 0.6638 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1986, allocations: 0 / 0.6638 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.472e-05/0.1987, allocations: 149.7 kB / 0.664 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1987, allocations: 4 kB / 0.664 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.1988, allocations: 0 / 0.664 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1988, allocations: 3.938 kB / 0.664 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1988, allocations: 4.031 kB / 0.664 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1988, allocations: 0 / 0.664 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1988, allocations: 4 kB / 0.664 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.441e-05/0.1989, allocations: 57.08 kB / 0.664 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.1989, allocations: 81.09 kB / 0.6641 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1989, allocations: 3.938 kB / 0.6641 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.1989, allocations: 4 kB / 0.6641 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.199, allocations: 4.031 kB / 0.6641 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.199, allocations: 0 / 0.6641 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.199, allocations: 75.28 kB / 0.6642 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.199, allocations: 0 / 0.6642 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002155/0.1992, allocations: 4 kB / 0.6642 GB, free: 8.398 MB / 0.4981 GB 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.0001711/0.1994, allocations: 111.2 kB / 0.6643 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.1995, allocations: 4 kB / 0.6643 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1995, allocations: 0 / 0.6643 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.1995, allocations: 4.062 kB / 0.6643 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1996, allocations: 5.875 kB / 0.6643 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.1998, allocations: 80.88 kB / 0.6644 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2, allocations: 0.6729 MB / 0.6651 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.2001, allocations: 4 kB / 0.6651 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.2001, allocations: 7.438 kB / 0.6651 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2001, allocations: 0 / 0.6651 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of Templates: time 0.002116/0.2022, allocations: 300.8 kB / 0.6654 GB, free: 7.16 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)