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.005448/0.005448, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001247/0.001247, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.798/0.798, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 61.36 kB / 0.5814 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1888, allocations: 80.2 MB / 0.6597 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002232/0.1911, allocations: 0.5835 MB / 0.6603 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.193, allocations: 1.247 MB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.193, allocations: 0 / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.193, allocations: 4 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.704e-06/0.1931, allocations: 0 / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1935, allocations: 67.73 kB / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.643e-05/0.1936, allocations: 0 / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.1936, allocations: 7.984 kB / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.1936, allocations: 0 / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.1937, allocations: 0 / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.1937, allocations: 0 / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.194, allocations: 95.89 kB / 0.6617 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.194, allocations: 12 kB / 0.6617 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.194, allocations: 0 / 0.6617 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.1942, allocations: 43.88 kB / 0.6617 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1942, allocations: 0 / 0.6617 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1942, allocations: 4 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.1942, allocations: 0 / 0.6617 GB, free: 11.48 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.0003401/0.1945, allocations: 323.6 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1946, allocations: 12.02 kB / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1946, allocations: 4.938 kB / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1947, allocations: 160.4 kB / 0.6622 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1947, allocations: 4.375 kB / 0.6622 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1948, allocations: 384 / 0.6622 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1949, allocations: 33.95 kB / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1949, allocations: 4 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1949, allocations: 3.938 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1949, allocations: 0 / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.1949, allocations: 3.984 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1951, allocations: 149.7 kB / 0.6624 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.1951, allocations: 22.61 kB / 0.6624 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.1952, allocations: 8.797 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.1957, allocations: 0.5584 MB / 0.663 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1958, allocations: 38.48 kB / 0.663 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1958, allocations: 0 / 0.663 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.1959, allocations: 37.7 kB / 0.663 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.196, allocations: 51.41 kB / 0.6631 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.225e-05/0.196, allocations: 89.86 kB / 0.6632 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.196, allocations: 25.7 kB / 0.6632 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.1961, allocations: 84.14 kB / 0.6633 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1961, allocations: 0 / 0.6633 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.1961, allocations: 13.72 kB / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1963, allocations: 310.8 kB / 0.6636 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.1963, allocations: 12.05 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-06/0.1963, allocations: 7.938 kB / 0.6636 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.1963, allocations: 4.859 kB / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1963, allocations: 0 / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.374e-05/0.1964, allocations: 37.7 kB / 0.6636 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1964, allocations: 7.938 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1964, allocations: 0 / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1964, allocations: 0 / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.1965, allocations: 4 kB / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1965, allocations: 4.094 kB / 0.6637 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.1965, allocations: 4 kB / 0.6637 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1965, allocations: 3.984 kB / 0.6637 GB, free: 9.137 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 7.839e-05/0.1966, allocations: 110.4 kB / 0.6638 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.1966, allocations: 7.938 kB / 0.6638 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.919e-05/0.1967, allocations: 36.83 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1967, allocations: 4.031 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1967, allocations: 0 / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1967, allocations: 0 / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.1968, allocations: 149.7 kB / 0.664 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1969, allocations: 0 / 0.664 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.1969, allocations: 0 / 0.664 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1969, allocations: 3.938 kB / 0.664 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1969, allocations: 0 / 0.664 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1969, allocations: 4 kB / 0.664 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1969, allocations: 0 / 0.664 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.905e-05/0.197, allocations: 72.91 kB / 0.664 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.197, allocations: 81.05 kB / 0.6641 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.197, allocations: 7.938 kB / 0.6641 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.1971, allocations: 0 / 0.6641 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.1971, allocations: 0 / 0.6641 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1971, allocations: 0 / 0.6641 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.1971, allocations: 75.28 kB / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1971, allocations: 0 / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001853/0.1973, allocations: 12.02 kB / 0.6642 GB, free: 8.477 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.000154/0.1975, allocations: 103.2 kB / 0.6643 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.1976, allocations: 7.938 kB / 0.6643 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1976, allocations: 0 / 0.6643 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.857e-06/0.1976, allocations: 3.938 kB / 0.6643 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1977, allocations: 9.875 kB / 0.6643 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.1979, allocations: 81.05 kB / 0.6644 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1982, allocations: 0.6729 MB / 0.6651 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.1982, allocations: 4 kB / 0.6651 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.1982, allocations: 7.438 kB / 0.6651 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1982, allocations: 0 / 0.6651 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of Templates: time 0.002105/0.2003, allocations: 297 kB / 0.6654 GB, free: 7.238 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)