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.001158/0.001158, allocations: 116.7 kB / 16.37 MB, free: 6 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.001173/0.001173, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.336/1.336, 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.8507/0.8507, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 67.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001561/0.3814, allocations: 0.5783 MB / 0.5821 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3825, allocations: 1.244 MB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.346e-05/0.3826, allocations: 1.094 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.3826, allocations: 0 / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.3826, allocations: 0 / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3829, allocations: 63.55 kB / 0.5834 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.348e-05/0.3829, allocations: 2 kB / 0.5834 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.383, allocations: 5.188 kB / 0.5834 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.116e-05/0.383, allocations: 3.031 kB / 0.5834 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.383, allocations: 5.562 kB / 0.5834 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.383, allocations: 0 / 0.5834 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.3832, allocations: 93.08 kB / 0.5835 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.3832, allocations: 1.469 kB / 0.5835 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.3833, allocations: 4.562 kB / 0.5835 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.3834, allocations: 51.34 kB / 0.5835 GB, free: 26.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3834, allocations: 0 / 0.5835 GB, free: 26.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3834, allocations: 1.156 kB / 0.5835 GB, free: 26.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3834, allocations: 3.75 kB / 0.5835 GB, free: 26.11 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.0001903/0.3836, allocations: 319.7 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3836, allocations: 10.38 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.3837, allocations: 4.875 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.023e-05/0.3837, allocations: 164.3 kB / 0.584 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3837, allocations: 0.9062 kB / 0.584 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.3837, allocations: 6.828 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.032e-05/0.3838, allocations: 39.19 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3838, allocations: 2.312 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3838, allocations: 0 / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3838, allocations: 1.438 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.3839, allocations: 1.188 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.056e-05/0.3839, allocations: 148.5 kB / 0.5842 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.806e-05/0.384, allocations: 20.67 kB / 0.5842 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.155e-05/0.384, allocations: 5.984 kB / 0.5842 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/0.3844, allocations: 0.5649 MB / 0.5848 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.3844, allocations: 36 kB / 0.5848 GB, free: 24.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3844, allocations: 2.188 kB / 0.5848 GB, free: 24.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001084/0.3845, allocations: 34.17 kB / 0.5848 GB, free: 24.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3846, allocations: 52.62 kB / 0.5849 GB, free: 24.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.41e-05/0.3846, allocations: 101.8 kB / 0.585 GB, free: 24.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-06/0.3846, allocations: 26.48 kB / 0.585 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.172e-05/0.3846, allocations: 84.17 kB / 0.5851 GB, free: 24.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3846, allocations: 3.938 kB / 0.5851 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.3847, allocations: 11 kB / 0.5851 GB, free: 24.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.3847, allocations: 312.1 kB / 0.5854 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.3847, allocations: 0.8438 kB / 0.5854 GB, free: 23.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-06/0.3847, allocations: 1.938 kB / 0.5854 GB, free: 23.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.3848, allocations: 12.48 kB / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3848, allocations: 0 / 0.5854 GB, free: 23.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.274e-05/0.3848, allocations: 37.88 kB / 0.5854 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3848, allocations: 8.438 kB / 0.5855 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3848, allocations: 1.531 kB / 0.5855 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3849, allocations: 0 / 0.5855 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.972e-05/0.3849, allocations: 5.25 kB / 0.5855 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3849, allocations: 1.781 kB / 0.5855 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.3849, allocations: 1.031 kB / 0.5855 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3849, allocations: 1.156 kB / 0.5855 GB, free: 23.85 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 5.104e-05/0.385, allocations: 108.5 kB / 0.5856 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.385, allocations: 3.938 kB / 0.5856 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.889e-05/0.3851, allocations: 46.59 kB / 0.5856 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3851, allocations: 0 / 0.5856 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3851, allocations: 0 / 0.5856 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3851, allocations: 1.219 kB / 0.5856 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.937e-05/0.3852, allocations: 142.9 kB / 0.5858 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3852, allocations: 7.922 kB / 0.5858 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.3852, allocations: 5.5 kB / 0.5858 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3852, allocations: 6.25 kB / 0.5858 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3852, allocations: 0 / 0.5858 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3852, allocations: 3.938 kB / 0.5858 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3852, allocations: 6.922 kB / 0.5858 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.623e-05/0.3853, allocations: 56.77 kB / 0.5858 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.3853, allocations: 81.09 kB / 0.5859 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.3853, allocations: 5.5 kB / 0.5859 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-06/0.3853, allocations: 0 / 0.5859 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.3853, allocations: 0.9688 kB / 0.5859 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3853, allocations: 1.375 kB / 0.5859 GB, free: 23.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.259e-05/0.3854, allocations: 75.78 kB / 0.586 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3854, allocations: 0.5938 kB / 0.586 GB, free: 23.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.3856, allocations: 10.53 kB / 0.586 GB, free: 23.23 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.0001387/0.3857, allocations: 104.9 kB / 0.5861 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.3858, allocations: 12.91 kB / 0.5861 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3858, allocations: 0 / 0.5861 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-06/0.3858, allocations: 3.312 kB / 0.5861 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.3859, allocations: 2.312 kB / 0.5861 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001603/0.3861, allocations: 77.14 kB / 0.5862 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.3862, allocations: 0.6709 MB / 0.5869 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.817e-05/0.3862, allocations: 6.984 kB / 0.5869 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.3863, allocations: 9.062 kB / 0.5869 GB, free: 22.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3863, allocations: 0.5 kB / 0.5869 GB, free: 22.34 MB / 446.1 MB Notification: Performance of Templates: time 0.002259/0.3885, allocations: 287.3 kB / 0.5871 GB, free: 22.2 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)