Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007638/0.007638, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001641/0.001641, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7973/0.7973, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.23 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 80.92 MB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002701/0.1563, allocations: 1.489 MB / 0.6661 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1575, allocations: 0.6435 MB / 0.6667 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.1576, allocations: 0 / 0.6667 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.1576, allocations: 7.938 kB / 0.6667 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.1577, allocations: 7.922 kB / 0.6667 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.1582, allocations: 75.73 kB / 0.6668 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.1583, allocations: 31.92 kB / 0.6668 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1585, allocations: 19.98 kB / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1586, allocations: 15.94 kB / 0.6669 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.1587, allocations: 19.91 kB / 0.6669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1587, allocations: 7.938 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.1589, allocations: 95.84 kB / 0.667 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.159, allocations: 11.92 kB / 0.667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.159, allocations: 19.86 kB / 0.667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1593, allocations: 87.78 kB / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1593, allocations: 0 / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.103e-06/0.1593, allocations: 0 / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.1593, allocations: 0 / 0.6671 GB, free: 3.238 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.0006539/0.16, allocations: 355.4 kB / 0.6675 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.16, allocations: 13.11 kB / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1601, allocations: 4.844 kB / 0.6675 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1602, allocations: 168.4 kB / 0.6676 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1603, allocations: 4.375 kB / 0.6676 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1603, allocations: 8.375 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1605, allocations: 57.94 kB / 0.6677 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1605, allocations: 0 / 0.6677 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1605, allocations: 3.938 kB / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1605, allocations: 4 kB / 0.6677 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.1606, allocations: 23.97 kB / 0.6677 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1611, allocations: 284.7 kB / 0.668 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1613, allocations: 34.52 kB / 0.668 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1613, allocations: 20.91 kB / 0.6681 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.162, allocations: 0.5505 MB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.162, allocations: 34.56 kB / 0.6686 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.226e-06/0.1621, allocations: 4 kB / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.00026/0.1623, allocations: 65.58 kB / 0.6687 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1624, allocations: 55.34 kB / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1625, allocations: 121.8 kB / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1625, allocations: 29.7 kB / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1626, allocations: 88.12 kB / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1626, allocations: 7.906 kB / 0.669 GB, free: 1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1626, allocations: 13.84 kB / 0.669 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1628, allocations: 326.8 kB / 0.6693 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.1629, allocations: 8 kB / 0.6693 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.1629, allocations: 11.98 kB / 0.6693 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.163, allocations: 24.84 kB / 0.6693 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.163, allocations: 0 / 0.6693 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001281/0.1631, allocations: 65.59 kB / 0.6694 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1632, allocations: 4 kB / 0.6694 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1632, allocations: 0 / 0.6694 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1632, allocations: 0 / 0.6694 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.1633, allocations: 15.98 kB / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1633, allocations: 3.938 kB / 0.6694 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.1634, allocations: 0 / 0.6694 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1634, allocations: 0 / 0.6694 GB, free: 0.5117 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 8.222e-05/0.1635, allocations: 117.8 kB / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1635, allocations: 8.031 kB / 0.6695 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1637, allocations: 57.2 kB / 0.6696 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.1637, allocations: 0 / 0.6696 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1637, allocations: 3.938 kB / 0.6696 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1637, allocations: 0 / 0.6696 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1639, allocations: 169.6 kB / 0.6698 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1639, allocations: 3.938 kB / 0.6698 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.164, allocations: 7.984 kB / 0.6698 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.164, allocations: 0 / 0.6698 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.164, allocations: 8.031 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.164, allocations: 0 / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.164, allocations: 0 / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1642, allocations: 155.4 kB / 0.6699 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1643, allocations: 85.02 kB / 0.67 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1643, allocations: 0 / 0.67 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.1644, allocations: 0 / 0.67 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1644, allocations: 8.031 kB / 0.67 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1645, allocations: 3.984 kB / 0.67 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.365e-05/0.1645, allocations: 95.28 kB / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1645, allocations: 0 / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002552/0.1648, allocations: 15.92 kB / 0.6701 GB, free: 15.69 MB / 0.5137 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.0002315/0.165, allocations: 104.5 kB / 0.6702 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.1652, allocations: 19.98 kB / 0.6703 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1652, allocations: 4.062 kB / 0.6703 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-05/0.1653, allocations: 15.98 kB / 0.6703 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1655, allocations: 4 kB / 0.6703 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.166, allocations: 138.5 kB / 0.6704 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.1667, allocations: 0.6845 MB / 0.6711 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.1667, allocations: 3.984 kB / 0.6711 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.1667, allocations: 15.5 kB / 0.6711 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1667, allocations: 0 / 0.6711 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.003019/0.1698, allocations: 493.8 kB / 0.6716 GB, free: 14.16 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)