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.00148/0.00148, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.001447/0.001447, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8441/0.8441, allocations: 135.2 MB / 425.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 0.5056 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3673, allocations: 80.92 MB / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001718/0.3691, allocations: 0.6396 MB / 0.5852 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3703, allocations: 1.231 MB / 0.5864 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.3703, allocations: 0 / 0.5864 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.3703, allocations: 1.344 kB / 0.5864 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-06/0.3704, allocations: 0 / 0.5864 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.3707, allocations: 56.39 kB / 0.5865 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.055e-05/0.3708, allocations: 5.453 kB / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.3708, allocations: 0 / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.3708, allocations: 1.969 kB / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.3709, allocations: 1.312 kB / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.3709, allocations: 1.031 kB / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3711, allocations: 104.9 kB / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.3711, allocations: 3 kB / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.3711, allocations: 0 / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.3712, allocations: 32.95 kB / 0.5866 GB, free: 23.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3712, allocations: 0 / 0.5866 GB, free: 23.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3712, allocations: 6.391 kB / 0.5866 GB, free: 23.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3712, allocations: 1.156 kB / 0.5866 GB, free: 23.39 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.0002292/0.3715, allocations: 325.3 kB / 0.5869 GB, free: 23.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3715, allocations: 13.89 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.3715, allocations: 2.062 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.075e-05/0.3716, allocations: 165.5 kB / 0.5871 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3716, allocations: 1.438 kB / 0.5871 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3716, allocations: 4.359 kB / 0.5871 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.016e-05/0.3717, allocations: 33.23 kB / 0.5871 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3717, allocations: 4.531 kB / 0.5871 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3717, allocations: 1.344 kB / 0.5871 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3717, allocations: 1.625 kB / 0.5871 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.3718, allocations: 1.562 kB / 0.5871 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.893e-05/0.3719, allocations: 150.5 kB / 0.5873 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.3719, allocations: 17.98 kB / 0.5873 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.3719, allocations: 7.047 kB / 0.5873 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/0.3723, allocations: 0.5582 MB / 0.5879 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3723, allocations: 37.06 kB / 0.5879 GB, free: 21.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3723, allocations: 0.625 kB / 0.5879 GB, free: 21.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.3725, allocations: 39.34 kB / 0.5879 GB, free: 21.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.3725, allocations: 53.5 kB / 0.588 GB, free: 21.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.408e-05/0.3725, allocations: 90.48 kB / 0.5881 GB, free: 21.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.3725, allocations: 25.7 kB / 0.5881 GB, free: 21.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-06/0.3725, allocations: 80.77 kB / 0.5882 GB, free: 21.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3726, allocations: 10.09 kB / 0.5882 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.3726, allocations: 11.31 kB / 0.5882 GB, free: 21.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.3726, allocations: 314.2 kB / 0.5885 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.3726, allocations: 0 / 0.5885 GB, free: 21.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.3727, allocations: 1.125 kB / 0.5885 GB, free: 21.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.3727, allocations: 22.12 kB / 0.5885 GB, free: 21.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3727, allocations: 0 / 0.5885 GB, free: 21.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.966e-05/0.3727, allocations: 35.33 kB / 0.5885 GB, free: 21.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3728, allocations: 9.156 kB / 0.5885 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3728, allocations: 1.094 kB / 0.5885 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3728, allocations: 0.7812 kB / 0.5885 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.3728, allocations: 2.469 kB / 0.5886 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3729, allocations: 0.5625 kB / 0.5886 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.3729, allocations: 5.156 kB / 0.5886 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3729, allocations: 1.281 kB / 0.5886 GB, free: 21.13 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.125e-05/0.3729, allocations: 117 kB / 0.5887 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.3729, allocations: 3.938 kB / 0.5887 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.373, allocations: 43.23 kB / 0.5887 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.373, allocations: 0.5 kB / 0.5887 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.373, allocations: 1.844 kB / 0.5887 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.373, allocations: 1.5 kB / 0.5887 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.605e-05/0.3731, allocations: 145.7 kB / 0.5889 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3731, allocations: 0.5938 kB / 0.5889 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.3731, allocations: 1.625 kB / 0.5889 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3731, allocations: 6.031 kB / 0.5889 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.3731, allocations: 0 / 0.5889 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3731, allocations: 5.172 kB / 0.5889 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3731, allocations: 0.9375 kB / 0.5889 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.811e-05/0.3732, allocations: 65.66 kB / 0.5889 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.3732, allocations: 77.11 kB / 0.589 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3732, allocations: 5.938 kB / 0.589 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-06/0.3732, allocations: 0 / 0.589 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.3733, allocations: 1.125 kB / 0.589 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.3733, allocations: 1.625 kB / 0.589 GB, free: 20.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.141e-05/0.3733, allocations: 76.38 kB / 0.5891 GB, free: 20.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3733, allocations: 0 / 0.5891 GB, free: 20.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.3735, allocations: 6.062 kB / 0.5891 GB, free: 20.52 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.0001322/0.3736, allocations: 105.6 kB / 0.5892 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.948e-05/0.3737, allocations: 3.969 kB / 0.5892 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3737, allocations: 2.469 kB / 0.5892 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.3737, allocations: 2.344 kB / 0.5892 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.3739, allocations: 3.375 kB / 0.5892 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.374, allocations: 113.8 kB / 0.5893 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.3741, allocations: 0.6702 MB / 0.59 GB, free: 19.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.3741, allocations: 8.875 kB / 0.59 GB, free: 19.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3741, allocations: 1.25 kB / 0.59 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Templates: time 0.001786/0.3759, allocations: 440.6 kB / 0.5904 GB, free: 19.4 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)