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.001525/0.001525, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001534/0.001534, allocations: 188.7 kB / 17.2 MB, free: 5.508 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8304/0.8304, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.89 kB / 0.506 GB, free: 8.301 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 80.92 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001607/0.3174, allocations: 0.5743 MB / 0.5856 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3186, allocations: 1.24 MB / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/0.3186, allocations: 0 / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.028e-05/0.3186, allocations: 0 / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.247e-06/0.3186, allocations: 1.25 kB / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.3189, allocations: 64.88 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.323e-05/0.319, allocations: 1.125 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.319, allocations: 1.156 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.267e-05/0.319, allocations: 1.969 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.13e-05/0.3191, allocations: 5.547 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.3191, allocations: 1.406 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3193, allocations: 97.16 kB / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.3193, allocations: 0 / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.3193, allocations: 5.266 kB / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3194, allocations: 46.61 kB / 0.5871 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3194, allocations: 1.531 kB / 0.5871 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3194, allocations: 0 / 0.5871 GB, free: 23.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3194, allocations: 1.062 kB / 0.5871 GB, free: 23.76 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.0002161/0.3197, allocations: 324.7 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3197, allocations: 14.67 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.3197, allocations: 0.9375 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.921e-05/0.3198, allocations: 163.3 kB / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.3198, allocations: 1.562 kB / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.3198, allocations: 384 / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.3199, allocations: 36.28 kB / 0.5876 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3199, allocations: 0 / 0.5876 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3199, allocations: 4 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3199, allocations: 1.344 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.3199, allocations: 5.719 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.788e-05/0.32, allocations: 147.4 kB / 0.5877 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.628e-05/0.3201, allocations: 21.77 kB / 0.5877 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.3201, allocations: 6.891 kB / 0.5878 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/0.3205, allocations: 0.5633 MB / 0.5883 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.3205, allocations: 35.47 kB / 0.5883 GB, free: 22.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3205, allocations: 2.562 kB / 0.5883 GB, free: 22.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.3206, allocations: 34.86 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.3206, allocations: 56.06 kB / 0.5884 GB, free: 22.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.382e-05/0.3206, allocations: 95.3 kB / 0.5885 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.3207, allocations: 27.27 kB / 0.5885 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-06/0.3207, allocations: 84.12 kB / 0.5886 GB, free: 21.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3207, allocations: 5.625 kB / 0.5886 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.3207, allocations: 12.38 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.326e-05/0.3208, allocations: 310.8 kB / 0.5889 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.3208, allocations: 1.344 kB / 0.5889 GB, free: 21.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.3208, allocations: 2.625 kB / 0.5889 GB, free: 21.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.3208, allocations: 11.98 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3208, allocations: 0.7188 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.195e-05/0.3209, allocations: 34.95 kB / 0.589 GB, free: 21.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3209, allocations: 15.89 kB / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3209, allocations: 0 / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3209, allocations: 0 / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.321, allocations: 1.281 kB / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.321, allocations: 1.781 kB / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.321, allocations: 1.875 kB / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.321, allocations: 1.344 kB / 0.589 GB, free: 21.51 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.521e-05/0.321, allocations: 111.2 kB / 0.5891 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.321, allocations: 3.938 kB / 0.5891 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.3211, allocations: 52 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3211, allocations: 1.344 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3211, allocations: 0 / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3211, allocations: 2.062 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.28e-05/0.3212, allocations: 143.1 kB / 0.5893 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3212, allocations: 1.438 kB / 0.5893 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.3212, allocations: 5.359 kB / 0.5893 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3212, allocations: 3.938 kB / 0.5893 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.3212, allocations: 1.969 kB / 0.5893 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3212, allocations: 0 / 0.5893 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3212, allocations: 0 / 0.5893 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.511e-05/0.3213, allocations: 57.8 kB / 0.5894 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.3213, allocations: 78.42 kB / 0.5894 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3213, allocations: 9.484 kB / 0.5895 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-06/0.3214, allocations: 0 / 0.5895 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.3214, allocations: 5.969 kB / 0.5895 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3214, allocations: 0 / 0.5895 GB, free: 20.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.938e-06/0.3214, allocations: 79.75 kB / 0.5895 GB, free: 20.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3214, allocations: 3.125 kB / 0.5895 GB, free: 20.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.3216, allocations: 4.938 kB / 0.5895 GB, free: 20.9 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.0001131/0.3217, allocations: 104.2 kB / 0.5896 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.3218, allocations: 14.7 kB / 0.5897 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3218, allocations: 1.312 kB / 0.5897 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.3218, allocations: 1.344 kB / 0.5897 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.322, allocations: 5.906 kB / 0.5897 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000145/0.3221, allocations: 104.5 kB / 0.5898 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.3222, allocations: 0.6694 MB / 0.5904 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.3222, allocations: 9.656 kB / 0.5904 GB, free: 19.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3222, allocations: 0 / 0.5904 GB, free: 19.97 MB / 446.1 MB Notification: Performance of Templates: time 0.001759/0.324, allocations: 439.3 kB / 0.5908 GB, free: 19.78 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)