Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001736/0.001736, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001898/0.001899, allocations: 189.9 kB / 17.2 MB, free: 5.598 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8176/0.8176, allocations: 135.2 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 0.506 GB, free: 8.367 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3372, allocations: 80.93 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00167/0.339, allocations: 0.5679 MB / 0.5856 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3401, allocations: 1.241 MB / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.426e-05/0.3401, allocations: 0 / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.909e-06/0.3402, allocations: 0 / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.3402, allocations: 1.188 kB / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3405, allocations: 66.75 kB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.602e-05/0.3405, allocations: 3.25 kB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.3406, allocations: 0 / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.182e-05/0.3406, allocations: 2.469 kB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/0.3406, allocations: 5.234 kB / 0.5869 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.3406, allocations: 0 / 0.5869 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.3408, allocations: 89.47 kB / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.3408, allocations: 2.094 kB / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.3409, allocations: 0 / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.341, allocations: 50.47 kB / 0.5871 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.341, allocations: 2.281 kB / 0.5871 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.341, allocations: 0 / 0.5871 GB, free: 23.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.341, allocations: 0.7812 kB / 0.5871 GB, free: 23.81 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.0002103/0.3412, allocations: 326.1 kB / 0.5874 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3413, allocations: 15.2 kB / 0.5874 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.3413, allocations: 9.75 kB / 0.5874 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.294e-05/0.3413, allocations: 164.4 kB / 0.5875 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3414, allocations: 1.688 kB / 0.5876 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.3414, allocations: 1.844 kB / 0.5876 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.412e-05/0.3414, allocations: 32.17 kB / 0.5876 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3415, allocations: 0 / 0.5876 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3415, allocations: 2.312 kB / 0.5876 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.3415, allocations: 0 / 0.5876 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.3415, allocations: 5.547 kB / 0.5876 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.392e-05/0.3416, allocations: 147.9 kB / 0.5877 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.162e-05/0.3416, allocations: 28.17 kB / 0.5878 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.3417, allocations: 5.828 kB / 0.5878 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/0.342, allocations: 0.5539 MB / 0.5883 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.342, allocations: 37.5 kB / 0.5883 GB, free: 22.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3421, allocations: 0 / 0.5883 GB, free: 22.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.3422, allocations: 39.34 kB / 0.5884 GB, free: 22.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/0.3422, allocations: 55.88 kB / 0.5884 GB, free: 22.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.735e-05/0.3422, allocations: 94.36 kB / 0.5885 GB, free: 22.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.3422, allocations: 27.61 kB / 0.5885 GB, free: 22.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-06/0.3423, allocations: 81.27 kB / 0.5886 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3423, allocations: 7.891 kB / 0.5886 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.3423, allocations: 13 kB / 0.5886 GB, free: 21.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.752e-05/0.3424, allocations: 316 kB / 0.5889 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3424, allocations: 1.219 kB / 0.5889 GB, free: 21.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-06/0.3424, allocations: 2.344 kB / 0.589 GB, free: 21.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.3424, allocations: 12.66 kB / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3424, allocations: 0 / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.134e-05/0.3425, allocations: 32.08 kB / 0.589 GB, free: 21.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3425, allocations: 10.53 kB / 0.589 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3425, allocations: 3.938 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3425, allocations: 1.625 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.3426, allocations: 5.438 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3426, allocations: 3.984 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.3426, allocations: 1.156 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.3426, allocations: 5.406 kB / 0.589 GB, free: 21.54 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.738e-05/0.3426, allocations: 116.9 kB / 0.5891 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.3426, allocations: 3.938 kB / 0.5891 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.111e-05/0.3427, allocations: 36.8 kB / 0.5892 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3427, allocations: 0 / 0.5892 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3427, allocations: 0 / 0.5892 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3427, allocations: 1.156 kB / 0.5892 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.146e-05/0.3428, allocations: 147.5 kB / 0.5893 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3428, allocations: 4.844 kB / 0.5893 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.3428, allocations: 1.375 kB / 0.5893 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3428, allocations: 5.719 kB / 0.5893 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.3428, allocations: 4.594 kB / 0.5893 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3428, allocations: 0 / 0.5893 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3428, allocations: 0.625 kB / 0.5893 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.649e-05/0.3429, allocations: 63.16 kB / 0.5894 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.3429, allocations: 77.11 kB / 0.5895 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3429, allocations: 5.094 kB / 0.5895 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-06/0.3429, allocations: 0 / 0.5895 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.343, allocations: 1.188 kB / 0.5895 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.343, allocations: 1.781 kB / 0.5895 GB, free: 21.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.718e-06/0.343, allocations: 76.22 kB / 0.5895 GB, free: 20.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.343, allocations: 0 / 0.5895 GB, free: 20.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.3432, allocations: 10.28 kB / 0.5896 GB, free: 20.94 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.000111/0.3433, allocations: 105.7 kB / 0.5897 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.509e-05/0.3434, allocations: 12.47 kB / 0.5897 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3434, allocations: 1.75 kB / 0.5897 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.3434, allocations: 2.875 kB / 0.5897 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.3435, allocations: 2.969 kB / 0.5897 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001394/0.3437, allocations: 109.5 kB / 0.5898 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.64e-05/0.3438, allocations: 0.669 MB / 0.5904 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.3438, allocations: 8.875 kB / 0.5904 GB, free: 20.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3438, allocations: 0.8125 kB / 0.5904 GB, free: 20.01 MB / 446.1 MB Notification: Performance of Templates: time 0.001705/0.3455, allocations: 437.4 kB / 0.5909 GB, free: 19.82 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)