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.0007795/0.0007796, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.000988/0.000988, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003111, allocations: 12 kB / 0.507 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 82.31 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008361/0.1611, allocations: 299.1 kB / 0.5877 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1629, allocations: 1.196 MB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.1629, allocations: 0 / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.163, allocations: 3.938 kB / 0.5888 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.163, allocations: 0 / 0.5888 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1633, allocations: 43.89 kB / 0.5889 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.835e-05/0.1634, allocations: 4 kB / 0.5889 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1634, allocations: 3.938 kB / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.736e-05/0.1634, allocations: 4 kB / 0.5889 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.1635, allocations: 0 / 0.5889 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.1635, allocations: 4 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.1637, allocations: 87.89 kB / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.1637, allocations: 0 / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.1638, allocations: 25.7 kB / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.1639, allocations: 43.89 kB / 0.5891 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1639, allocations: 0 / 0.5891 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1639, allocations: 0 / 0.5891 GB, free: 1.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1639, allocations: 0 / 0.5891 GB, free: 1.258 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.0003016/0.1642, allocations: 319.4 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1643, allocations: 11.97 kB / 0.5894 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1643, allocations: 4 kB / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.1644, allocations: 167 kB / 0.5895 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1644, allocations: 11.98 kB / 0.5895 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.1644, allocations: 0 / 0.5895 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.1645, allocations: 29.69 kB / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1645, allocations: 0 / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.1646, allocations: 0 / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1646, allocations: 0 / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.1646, allocations: 4 kB / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1647, allocations: 153.6 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.698e-05/0.1648, allocations: 26.55 kB / 0.5897 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.1648, allocations: 4.859 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.1654, allocations: 0.5584 MB / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1654, allocations: 34.56 kB / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1654, allocations: 0 / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.1655, allocations: 37.64 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1656, allocations: 55.34 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.032e-05/0.1656, allocations: 89.86 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.1656, allocations: 25.7 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.1657, allocations: 80.14 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1657, allocations: 3.906 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.1657, allocations: 0 / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.1658, allocations: 319 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1658, allocations: 4 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-06/0.1658, allocations: 0 / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.72e-05/0.1658, allocations: 4 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1659, allocations: 3.953 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.892e-05/0.1659, allocations: 37.64 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1659, allocations: 4 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1659, allocations: 3.938 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.166, allocations: 4.094 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.166, allocations: 7.984 kB / 0.591 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.166, allocations: 0 / 0.591 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.166, allocations: 3.938 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.166, allocations: 0 / 0.591 GB, free: 14.93 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.1661, allocations: 105.8 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.1661, allocations: 7.953 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.1662, allocations: 40.83 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1662, allocations: 3.984 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1662, allocations: 0 / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1662, allocations: 0 / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1664, allocations: 145.7 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1664, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.1664, allocations: 3.953 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1664, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1664, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1664, allocations: 4 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1664, allocations: 0 / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.423e-05/0.1665, allocations: 65.09 kB / 0.5913 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.1665, allocations: 77.11 kB / 0.5914 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1666, allocations: 7.953 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.1666, allocations: 4 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-06/0.1666, allocations: 0 / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1666, allocations: 3.984 kB / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.208e-05/0.1666, allocations: 75.28 kB / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1666, allocations: 4.031 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001969/0.1668, allocations: 8 kB / 0.5915 GB, free: 14.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001902/0.167, allocations: 103.2 kB / 0.5916 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.04e-05/0.1671, allocations: 4 kB / 0.5916 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1671, allocations: 3.938 kB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.1671, allocations: 4 kB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1673, allocations: 4.281 kB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.1675, allocations: 82.81 kB / 0.5917 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1677, allocations: 0.6692 MB / 0.5924 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.1678, allocations: 4 kB / 0.5924 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.1678, allocations: 7.438 kB / 0.5924 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1678, allocations: 0 / 0.5924 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.002298/0.1701, allocations: 287.3 kB / 0.5926 GB, free: 13.07 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)