Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001478, allocations: 105 kB / 16.41 MB, free: 6.441 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.001664/0.001664, allocations: 189.5 kB / 17.34 MB, free: 5.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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.31 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002608/0.1561, allocations: 1.501 MB / 0.6618 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1577, allocations: 0.6397 MB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.1578, allocations: 0 / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.1579, allocations: 7.922 kB / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.158, allocations: 7.875 kB / 0.6624 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.1586, allocations: 79.73 kB / 0.6625 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1587, allocations: 27.92 kB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1588, allocations: 16 kB / 0.6626 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.159, allocations: 23.91 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.64e-05/0.1591, allocations: 15.92 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1591, allocations: 0 / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.1594, allocations: 99.89 kB / 0.6627 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.1594, allocations: 7.938 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.1595, allocations: 19.88 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1597, allocations: 79.77 kB / 0.6628 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1598, allocations: 0 / 0.6628 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1598, allocations: 3.938 kB / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.1598, allocations: 0 / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005954/0.1604, allocations: 367.4 kB / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1605, allocations: 8.031 kB / 0.6632 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1605, allocations: 8.844 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1607, allocations: 168.3 kB / 0.6633 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1607, allocations: 384 / 0.6633 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1607, allocations: 4.375 kB / 0.6633 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.1609, allocations: 61.97 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.161, allocations: 0 / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.161, allocations: 7.938 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.161, allocations: 0 / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1612, allocations: 31.92 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.1617, allocations: 276.8 kB / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1618, allocations: 34.5 kB / 0.6637 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.1619, allocations: 20.92 kB / 0.6637 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/0.1625, allocations: 0.5544 MB / 0.6643 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.1626, allocations: 34.5 kB / 0.6643 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.1626, allocations: 0 / 0.6643 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.163, allocations: 65.67 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.163, allocations: 55.53 kB / 0.6644 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1632, allocations: 121.8 kB / 0.6645 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1632, allocations: 25.7 kB / 0.6646 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1633, allocations: 88.14 kB / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1633, allocations: 7.891 kB / 0.6647 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.1634, allocations: 17.72 kB / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1635, allocations: 314.8 kB / 0.665 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.1636, allocations: 11.98 kB / 0.665 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.1637, allocations: 15.94 kB / 0.665 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1638, allocations: 24.84 kB / 0.665 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1638, allocations: 0 / 0.665 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.164, allocations: 65.58 kB / 0.6651 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.164, allocations: 4 kB / 0.6651 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.164, allocations: 0 / 0.6651 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1641, allocations: 0 / 0.6651 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.1642, allocations: 8.094 kB / 0.6651 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1642, allocations: 0 / 0.6651 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.1643, allocations: 7.984 kB / 0.6651 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.1643, allocations: 0 / 0.6651 GB, free: 4.996 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 (2): * Single equations (assignments): 2 * 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 0.0001084/0.1644, allocations: 114.7 kB / 0.6652 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1644, allocations: 7.844 kB / 0.6652 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.1647, allocations: 65.19 kB / 0.6653 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1647, allocations: 8.031 kB / 0.6653 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-05/0.1648, allocations: 3.938 kB / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1648, allocations: 0 / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.165, allocations: 173.6 kB / 0.6655 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.165, allocations: 0 / 0.6655 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.1651, allocations: 4 kB / 0.6655 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1651, allocations: 3.984 kB / 0.6655 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1651, allocations: 0 / 0.6655 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1651, allocations: 0 / 0.6655 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1651, allocations: 0 / 0.6655 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1654, allocations: 159.4 kB / 0.6656 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.1655, allocations: 85 kB / 0.6657 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1655, allocations: 4 kB / 0.6657 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.1656, allocations: 0 / 0.6657 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1656, allocations: 3.938 kB / 0.6657 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1656, allocations: 4 kB / 0.6657 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.1657, allocations: 94.22 kB / 0.6658 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1657, allocations: 4.031 kB / 0.6658 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004556/0.1662, allocations: 15.94 kB / 0.6658 GB, free: 4.156 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 (2): * Single equations (assignments): 2 * 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.0001764/0.1664, allocations: 103.2 kB / 0.6659 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1666, allocations: 23.98 kB / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1666, allocations: 0 / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.1667, allocations: 11.94 kB / 0.666 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.1671, allocations: 8.109 kB / 0.666 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.1675, allocations: 164.3 kB / 0.6661 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1678, allocations: 0.6807 MB / 0.6668 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1679, allocations: 11.44 kB / 0.6668 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1679, allocations: 0 / 0.6668 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.002866/0.1708, allocations: 0.73 MB / 0.6675 GB, free: 2.363 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)