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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001908/0.001908, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9634/0.9634, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.56 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1503, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001603/0.1519, allocations: 0.6331 MB / 0.5843 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1533, allocations: 1.25 MB / 0.5856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-06/0.1533, allocations: 0 / 0.5856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1534, allocations: 3.938 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.1534, allocations: 0 / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1536, allocations: 47.88 kB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.04e-05/0.1537, allocations: 4 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.1537, allocations: 0 / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.059e-05/0.1537, allocations: 0 / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.1538, allocations: 3.984 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.1538, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.154, allocations: 103.8 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.154, allocations: 3.984 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.154, allocations: 0 / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1541, allocations: 55.88 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1541, allocations: 0 / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1542, allocations: 0 / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.1542, allocations: 0 / 0.5858 GB, free: 2.902 MB / 494.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.0002698/0.1544, allocations: 319.6 kB / 0.5861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1545, allocations: 12.03 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.1545, allocations: 8.938 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.1546, allocations: 164.4 kB / 0.5862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1546, allocations: 384 / 0.5862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.1546, allocations: 384 / 0.5862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.45e-05/0.1547, allocations: 34.02 kB / 0.5863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1547, allocations: 7.922 kB / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.1547, allocations: 0 / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1547, allocations: 0 / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.1547, allocations: 0 / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.1549, allocations: 149.7 kB / 0.5864 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.024e-05/0.1549, allocations: 18.58 kB / 0.5864 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.1549, allocations: 4.953 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/0.1554, allocations: 0.5583 MB / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1554, allocations: 38.5 kB / 0.587 GB, free: 1.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1555, allocations: 4 kB / 0.587 GB, free: 1.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.1556, allocations: 37.64 kB / 0.5871 GB, free: 1.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1556, allocations: 51.41 kB / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.941e-05/0.1557, allocations: 89.86 kB / 0.5872 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.1557, allocations: 25.7 kB / 0.5872 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.1557, allocations: 80.14 kB / 0.5873 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.1557, allocations: 7.906 kB / 0.5873 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1558, allocations: 13.7 kB / 0.5873 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.1559, allocations: 319 kB / 0.5876 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.1559, allocations: 4 kB / 0.5876 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.1559, allocations: 3.938 kB / 0.5876 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.1559, allocations: 16.73 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1559, allocations: 0 / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.667e-05/0.156, allocations: 29.7 kB / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.156, allocations: 7.938 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.156, allocations: 0 / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.156, allocations: 12.08 kB / 0.5877 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.1561, allocations: 0 / 0.5877 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1561, allocations: 3.984 kB / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.064e-05/0.1561, allocations: 0 / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1561, allocations: 0 / 0.5877 GB, free: 0.5586 MB / 494.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 6.265e-05/0.1562, allocations: 113.8 kB / 0.5878 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.1562, allocations: 3.938 kB / 0.5878 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.959e-05/0.1563, allocations: 44.75 kB / 0.5879 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1563, allocations: 0 / 0.5879 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1563, allocations: 4 kB / 0.5879 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1563, allocations: 4 kB / 0.5879 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.85e-05/0.1564, allocations: 141.7 kB / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1564, allocations: 0 / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.1564, allocations: 0 / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1564, allocations: 7.938 kB / 0.588 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.1564, allocations: 0 / 0.588 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1564, allocations: 3.984 kB / 0.588 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1564, allocations: 0 / 0.588 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.83e-05/0.1565, allocations: 61.11 kB / 0.5881 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.1565, allocations: 81.11 kB / 0.5882 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1566, allocations: 4.141 kB / 0.5882 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-06/0.1566, allocations: 0 / 0.5882 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.1566, allocations: 3.984 kB / 0.5882 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1566, allocations: 0 / 0.5882 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.19e-05/0.1566, allocations: 75.28 kB / 0.5882 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1566, allocations: 4.031 kB / 0.5882 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001876/0.1568, allocations: 12 kB / 0.5882 GB, free: 15.9 MB / 0.4981 GB 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.0001318/0.157, allocations: 99.25 kB / 0.5883 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.23e-05/0.157, allocations: 4 kB / 0.5883 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.157, allocations: 3.938 kB / 0.5884 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-06/0.157, allocations: 7.984 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.1572, allocations: 288 / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/0.1573, allocations: 82.83 kB / 0.5884 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.1575, allocations: 0.6731 MB / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.1575, allocations: 0 / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.1576, allocations: 7.438 kB / 0.5891 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1576, allocations: 3.938 kB / 0.5891 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.001824/0.1594, allocations: 293.6 kB / 0.5894 GB, free: 14.67 MB / 0.4981 GB 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)