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.001054/0.001054, allocations: 107.5 kB / 16.27 MB, free: 6.414 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.001076/0.001076, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7957/0.7957, allocations: 132.2 MB / 423.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 80.19 MB / 0.5808 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001807/0.3419, allocations: 0.5757 MB / 0.5813 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3432, allocations: 1.244 MB / 0.5825 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.3432, allocations: 3.938 kB / 0.5825 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.3433, allocations: 0 / 0.5825 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.601e-06/0.3433, allocations: 1.062 kB / 0.5825 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.3437, allocations: 64.5 kB / 0.5826 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.383e-05/0.3437, allocations: 0.875 kB / 0.5826 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.3438, allocations: 5.078 kB / 0.5826 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.597e-05/0.3438, allocations: 6.516 kB / 0.5826 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.3438, allocations: 0.9062 kB / 0.5826 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.3438, allocations: 1.156 kB / 0.5826 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.3441, allocations: 89.22 kB / 0.5827 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.3441, allocations: 5.484 kB / 0.5827 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.3441, allocations: 0.7812 kB / 0.5827 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.3442, allocations: 50.62 kB / 0.5827 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3443, allocations: 1.219 kB / 0.5827 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3443, allocations: 1.656 kB / 0.5828 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3443, allocations: 0 / 0.5828 GB, free: 25.95 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.0002669/0.3445, allocations: 329.4 kB / 0.5831 GB, free: 25.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3446, allocations: 9.781 kB / 0.5831 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3446, allocations: 6.312 kB / 0.5831 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.698e-05/0.3447, allocations: 162 kB / 0.5832 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3447, allocations: 384 / 0.5832 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3447, allocations: 4.312 kB / 0.5832 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/0.3448, allocations: 34.17 kB / 0.5833 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3448, allocations: 0 / 0.5833 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3448, allocations: 0 / 0.5833 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3449, allocations: 2.812 kB / 0.5833 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.3449, allocations: 1.188 kB / 0.5833 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.632e-05/0.345, allocations: 154.9 kB / 0.5834 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.522e-05/0.345, allocations: 21.77 kB / 0.5834 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.345, allocations: 9.625 kB / 0.5835 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.3455, allocations: 0.5633 MB / 0.584 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.3455, allocations: 37.59 kB / 0.584 GB, free: 24.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3455, allocations: 0 / 0.584 GB, free: 24.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.3456, allocations: 31.45 kB / 0.5841 GB, free: 24.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.3457, allocations: 59.53 kB / 0.5841 GB, free: 24.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.56e-05/0.3457, allocations: 93.86 kB / 0.5842 GB, free: 24.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.3457, allocations: 25.7 kB / 0.5842 GB, free: 24.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.3457, allocations: 80.14 kB / 0.5843 GB, free: 24.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3457, allocations: 1.25 kB / 0.5843 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.3458, allocations: 15.53 kB / 0.5843 GB, free: 24.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.3458, allocations: 316.8 kB / 0.5846 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.3458, allocations: 1.344 kB / 0.5846 GB, free: 23.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.3458, allocations: 7 kB / 0.5846 GB, free: 23.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.3459, allocations: 7.547 kB / 0.5847 GB, free: 23.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3459, allocations: 0 / 0.5847 GB, free: 23.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.382e-05/0.3459, allocations: 32.05 kB / 0.5847 GB, free: 23.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3459, allocations: 16.5 kB / 0.5847 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.346, allocations: 0 / 0.5847 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.346, allocations: 1.062 kB / 0.5847 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.346, allocations: 1.438 kB / 0.5847 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.346, allocations: 0.5312 kB / 0.5847 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.3461, allocations: 6.391 kB / 0.5847 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3461, allocations: 0 / 0.5847 GB, free: 23.69 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 4.44e-05/0.3461, allocations: 113.3 kB / 0.5848 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.3461, allocations: 9.031 kB / 0.5848 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.3462, allocations: 34.08 kB / 0.5849 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3462, allocations: 0.875 kB / 0.5849 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3462, allocations: 5.234 kB / 0.5849 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3462, allocations: 0.7812 kB / 0.5849 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.619e-05/0.3463, allocations: 147.5 kB / 0.585 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3463, allocations: 1.156 kB / 0.585 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.3463, allocations: 1.406 kB / 0.585 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3463, allocations: 9.031 kB / 0.585 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.3463, allocations: 4.719 kB / 0.585 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3463, allocations: 1.219 kB / 0.585 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3463, allocations: 0.75 kB / 0.585 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.885e-05/0.3464, allocations: 57.38 kB / 0.5851 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.3464, allocations: 77.11 kB / 0.5851 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.3464, allocations: 9.062 kB / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-06/0.3465, allocations: 1.031 kB / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.3465, allocations: 1.469 kB / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.3465, allocations: 1.219 kB / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.085e-05/0.3465, allocations: 76.41 kB / 0.5852 GB, free: 23.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3465, allocations: 0 / 0.5852 GB, free: 23.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.3467, allocations: 10.36 kB / 0.5852 GB, free: 23.07 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.0001424/0.3469, allocations: 100.5 kB / 0.5853 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.362e-05/0.3469, allocations: 8.719 kB / 0.5853 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3469, allocations: 2.438 kB / 0.5853 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.735e-06/0.347, allocations: 2.375 kB / 0.5854 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.3471, allocations: 3.484 kB / 0.5854 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.3473, allocations: 111.8 kB / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.372e-05/0.3474, allocations: 0.6718 MB / 0.5861 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.3474, allocations: 7.438 kB / 0.5861 GB, free: 22.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3474, allocations: 0 / 0.5861 GB, free: 22.15 MB / 446.1 MB Notification: Performance of Templates: time 0.001832/0.3492, allocations: 444.6 kB / 0.5865 GB, free: 21.95 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)