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.0009559/0.0009559, allocations: 104.1 kB / 16.35 MB, free: 6.285 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.0009649/0.0009649, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7697/0.7697, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3599, allocations: 80.91 MB / 0.5858 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001745/0.3617, allocations: 0.5751 MB / 0.5863 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.363, allocations: 1.248 MB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.363, allocations: 2.188 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.363, allocations: 0 / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.3631, allocations: 0 / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.3634, allocations: 59.03 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.3635, allocations: 6.062 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.3635, allocations: 5.594 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.3635, allocations: 1.938 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.3636, allocations: 1.875 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-06/0.3636, allocations: 0 / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3638, allocations: 93.52 kB / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.3638, allocations: 0.6562 kB / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.3638, allocations: 9.016 kB / 0.5877 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.364, allocations: 47.48 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.364, allocations: 0 / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.364, allocations: 1.094 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.364, allocations: 1.438 kB / 0.5878 GB, free: 23.92 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.0002543/0.3642, allocations: 325.5 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3643, allocations: 10.05 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.3643, allocations: 2.75 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.769e-05/0.3644, allocations: 160.4 kB / 0.5882 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3644, allocations: 6.75 kB / 0.5883 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.3644, allocations: 384 / 0.5883 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.3645, allocations: 37.09 kB / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3645, allocations: 1.562 kB / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3646, allocations: 0 / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3646, allocations: 0 / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.3646, allocations: 1.562 kB / 0.5883 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.711e-05/0.3647, allocations: 148.6 kB / 0.5884 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/0.3647, allocations: 22.55 kB / 0.5885 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.3647, allocations: 5.984 kB / 0.5885 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.3652, allocations: 0.563 MB / 0.589 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3652, allocations: 37.22 kB / 0.589 GB, free: 22.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3652, allocations: 0 / 0.589 GB, free: 22.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.3653, allocations: 42.83 kB / 0.5891 GB, free: 22.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.3654, allocations: 53.34 kB / 0.5891 GB, free: 22.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.833e-05/0.3654, allocations: 94.98 kB / 0.5892 GB, free: 22.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.3654, allocations: 25.7 kB / 0.5893 GB, free: 22.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-06/0.3654, allocations: 80.14 kB / 0.5893 GB, free: 22.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3654, allocations: 6 kB / 0.5893 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.3655, allocations: 15.48 kB / 0.5893 GB, free: 22.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.3655, allocations: 313.3 kB / 0.5896 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.3655, allocations: 5.188 kB / 0.5897 GB, free: 21.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.3655, allocations: 1.969 kB / 0.5897 GB, free: 21.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.3656, allocations: 8.828 kB / 0.5897 GB, free: 21.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3656, allocations: 0 / 0.5897 GB, free: 21.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.139e-05/0.3656, allocations: 36.14 kB / 0.5897 GB, free: 21.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3656, allocations: 9.688 kB / 0.5897 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3657, allocations: 3.984 kB / 0.5897 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3657, allocations: 2.875 kB / 0.5897 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.132e-05/0.3657, allocations: 1.531 kB / 0.5897 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.3657, allocations: 0 / 0.5897 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.3657, allocations: 1.219 kB / 0.5897 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.3658, allocations: 3.938 kB / 0.5897 GB, free: 21.66 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.434e-05/0.3658, allocations: 107.8 kB / 0.5898 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.3658, allocations: 12.62 kB / 0.5898 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.784e-05/0.3659, allocations: 41.38 kB / 0.5899 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3659, allocations: 1.062 kB / 0.5899 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3659, allocations: 0 / 0.5899 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3659, allocations: 5.094 kB / 0.5899 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.545e-05/0.366, allocations: 142.8 kB / 0.59 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.366, allocations: 0.9062 kB / 0.59 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.366, allocations: 1.375 kB / 0.59 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.366, allocations: 5.594 kB / 0.59 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.366, allocations: 3.984 kB / 0.59 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.366, allocations: 2.125 kB / 0.59 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.366, allocations: 3.984 kB / 0.59 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.007e-05/0.3661, allocations: 57.73 kB / 0.5901 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.3661, allocations: 77.11 kB / 0.5902 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3661, allocations: 6.688 kB / 0.5902 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-06/0.3661, allocations: 3.984 kB / 0.5902 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.3662, allocations: 5.203 kB / 0.5902 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3662, allocations: 0 / 0.5902 GB, free: 21.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.202e-05/0.3662, allocations: 78.09 kB / 0.5903 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3662, allocations: 0 / 0.5903 GB, free: 21.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001806/0.3664, allocations: 4.344 kB / 0.5903 GB, free: 21.05 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.000138/0.3665, allocations: 115 kB / 0.5904 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.548e-05/0.3666, allocations: 5.781 kB / 0.5904 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3666, allocations: 0 / 0.5904 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.455e-06/0.3666, allocations: 6.734 kB / 0.5904 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.3667, allocations: 3.562 kB / 0.5904 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.3669, allocations: 75.14 kB / 0.5905 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.439e-05/0.367, allocations: 0.6704 MB / 0.5911 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.683e-05/0.367, allocations: 2.656 kB / 0.5911 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.367, allocations: 11.44 kB / 0.5911 GB, free: 20.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.367, allocations: 3.062 kB / 0.5911 GB, free: 20.16 MB / 446.1 MB Notification: Performance of Templates: time 0.002357/0.3694, allocations: 288.8 kB / 0.5914 GB, free: 20.02 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)