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.001478/0.001478, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.001841, allocations: 199.5 kB / 16.79 MB, free: 6.828 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9063/0.9063, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.34 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.93 MB / 0.5844 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001697/0.1552, allocations: 0.6426 MB / 0.585 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1566, allocations: 1.242 MB / 0.5862 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-06/0.1567, allocations: 0 / 0.5862 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1567, allocations: 0 / 0.5862 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.1567, allocations: 4 kB / 0.5862 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.157, allocations: 47.81 kB / 0.5863 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.171e-05/0.157, allocations: 3.984 kB / 0.5863 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.1571, allocations: 4 kB / 0.5863 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.25e-05/0.1571, allocations: 0 / 0.5863 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.1571, allocations: 4 kB / 0.5863 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.1571, allocations: 0 / 0.5863 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.1573, allocations: 99.89 kB / 0.5864 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.1574, allocations: 0 / 0.5864 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.1574, allocations: 4 kB / 0.5864 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.588e-05/0.1575, allocations: 31.95 kB / 0.5864 GB, free: 2.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1575, allocations: 0 / 0.5864 GB, free: 2.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1575, allocations: 0 / 0.5864 GB, free: 2.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1575, allocations: 0 / 0.5864 GB, free: 2.879 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.0002755/0.1578, allocations: 327.6 kB / 0.5867 GB, free: 2.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1578, allocations: 11.97 kB / 0.5867 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.1578, allocations: 0.9375 kB / 0.5867 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.1579, allocations: 164.3 kB / 0.5869 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1579, allocations: 4.375 kB / 0.5869 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.158, allocations: 4.375 kB / 0.5869 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.1581, allocations: 41.94 kB / 0.5869 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1581, allocations: 0 / 0.5869 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1581, allocations: 0 / 0.5869 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1581, allocations: 0 / 0.5869 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.1581, allocations: 4 kB / 0.5869 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.1582, allocations: 141.7 kB / 0.5871 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/0.1583, allocations: 18.61 kB / 0.5871 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.1583, allocations: 12.86 kB / 0.5871 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.1589, allocations: 0.5584 MB / 0.5876 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1589, allocations: 38.44 kB / 0.5877 GB, free: 1.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1589, allocations: 0 / 0.5877 GB, free: 1.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.159, allocations: 37.7 kB / 0.5877 GB, free: 1.234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1591, allocations: 55.53 kB / 0.5878 GB, free: 1.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.1591, allocations: 89.86 kB / 0.5879 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1592, allocations: 25.7 kB / 0.5879 GB, free: 1.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.1592, allocations: 80.14 kB / 0.588 GB, free: 0.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1592, allocations: 3.906 kB / 0.588 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.1592, allocations: 17.7 kB / 0.588 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1594, allocations: 310.8 kB / 0.5883 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.1594, allocations: 0 / 0.5883 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.1594, allocations: 4 kB / 0.5883 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.1594, allocations: 16.8 kB / 0.5883 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1594, allocations: 0 / 0.5883 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.92e-05/0.1595, allocations: 33.7 kB / 0.5883 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1595, allocations: 7.938 kB / 0.5883 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1595, allocations: 0 / 0.5883 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1595, allocations: 3.984 kB / 0.5883 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.024e-05/0.1596, allocations: 0 / 0.5883 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1596, allocations: 4 kB / 0.5883 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.1596, allocations: 4.094 kB / 0.5883 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1596, allocations: 0 / 0.5883 GB, free: 0.5352 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.415e-05/0.1597, allocations: 109.8 kB / 0.5884 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.1597, allocations: 3.938 kB / 0.5884 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/0.1598, allocations: 48.75 kB / 0.5885 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1598, allocations: 0 / 0.5885 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1598, allocations: 32 / 0.5885 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1598, allocations: 4 kB / 0.5885 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1599, allocations: 141.7 kB / 0.5886 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1599, allocations: 0 / 0.5886 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.16, allocations: 11.94 kB / 0.5886 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.16, allocations: 3.938 kB / 0.5886 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.16, allocations: 3.984 kB / 0.5887 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.16, allocations: 0 / 0.5887 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.16, allocations: 3.984 kB / 0.5887 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.651e-05/0.1601, allocations: 65.08 kB / 0.5887 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.1601, allocations: 77.11 kB / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1602, allocations: 3.938 kB / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.1602, allocations: 0 / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.1602, allocations: 7.984 kB / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1602, allocations: 0 / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.1602, allocations: 75.28 kB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 0 / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001934/0.1604, allocations: 4 kB / 0.5889 GB, free: 15.88 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.0001929/0.1606, allocations: 107.3 kB / 0.589 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.118e-05/0.1607, allocations: 8 kB / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1607, allocations: 0 / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.1607, allocations: 7.922 kB / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1609, allocations: 4.281 kB / 0.589 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.1611, allocations: 100.4 kB / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1613, allocations: 0.6733 MB / 0.5898 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.1613, allocations: 11.44 kB / 0.5898 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1613, allocations: 0 / 0.5898 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.001606/0.163, allocations: 423.2 kB / 0.5902 GB, free: 14.49 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)