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.001294/0.001294, allocations: 109 kB / 16.41 MB, free: 6.5 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.001284/0.001284, allocations: 183 kB / 17.34 MB, free: 5.762 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.436/1.436, 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-master/package.mo): time 0.8517/0.8517, allocations: 135.2 MB / 426.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.69 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1522, allocations: 80.93 MB / 0.6654 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002851/0.155, allocations: 1.497 MB / 0.6668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1562, allocations: 0.6474 MB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.1562, allocations: 0 / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.1563, allocations: 3.938 kB / 0.6675 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.1563, allocations: 3.938 kB / 0.6675 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1567, allocations: 79.72 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.1568, allocations: 31.92 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1569, allocations: 11.98 kB / 0.6676 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.157, allocations: 15.94 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.1571, allocations: 23.91 kB / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1571, allocations: 4 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1573, allocations: 95.84 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1573, allocations: 7.938 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.1573, allocations: 23.84 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1575, allocations: 83.72 kB / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1575, allocations: 0 / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.083e-06/0.1575, allocations: 0 / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1575, allocations: 0 / 0.6678 GB, free: 3.215 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.0005488/0.1581, allocations: 363.2 kB / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1581, allocations: 17.05 kB / 0.6682 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1582, allocations: 0.9375 kB / 0.6682 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1583, allocations: 176.3 kB / 0.6684 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1583, allocations: 384 / 0.6684 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1583, allocations: 4.375 kB / 0.6684 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1585, allocations: 57.94 kB / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1585, allocations: 0 / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1585, allocations: 0 / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1585, allocations: 4 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.1586, allocations: 27.92 kB / 0.6684 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.1591, allocations: 288.7 kB / 0.6687 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.1592, allocations: 30.52 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1593, allocations: 20.91 kB / 0.6688 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/0.1598, allocations: 0.5544 MB / 0.6693 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1598, allocations: 30.56 kB / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1598, allocations: 0 / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000264/0.1601, allocations: 69.62 kB / 0.6694 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.1602, allocations: 51.41 kB / 0.6695 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1603, allocations: 121.9 kB / 0.6696 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1603, allocations: 29.7 kB / 0.6696 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.1604, allocations: 96.12 kB / 0.6697 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1604, allocations: 3.953 kB / 0.6697 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1604, allocations: 13.72 kB / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1606, allocations: 322.8 kB / 0.67 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/0.1606, allocations: 8 kB / 0.67 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.1607, allocations: 11.98 kB / 0.67 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.1608, allocations: 28.91 kB / 0.6701 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1608, allocations: 0 / 0.6701 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.1609, allocations: 57.69 kB / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1609, allocations: 4 kB / 0.6701 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1609, allocations: 0 / 0.6701 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1609, allocations: 3.938 kB / 0.6701 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.161, allocations: 7.984 kB / 0.6701 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.161, allocations: 0 / 0.6701 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.161, allocations: 11.98 kB / 0.6701 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.161, allocations: 0 / 0.6701 GB, free: 496 kB / 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 9.828e-05/0.1611, allocations: 117.8 kB / 0.6703 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1612, allocations: 0 / 0.6703 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.1613, allocations: 65.2 kB / 0.6703 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1613, allocations: 0 / 0.6703 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1614, allocations: 0 / 0.6703 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1614, allocations: 4.031 kB / 0.6703 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1615, allocations: 173.5 kB / 0.6705 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1616, allocations: 0 / 0.6705 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.1616, allocations: 11.92 kB / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1616, allocations: 0 / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1616, allocations: 0 / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1616, allocations: 0 / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1616, allocations: 4 kB / 0.6705 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1618, allocations: 159.4 kB / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.1619, allocations: 77.11 kB / 0.6707 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1619, allocations: 4 kB / 0.6707 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.162, allocations: 0 / 0.6707 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.162, allocations: 3.984 kB / 0.6707 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.162, allocations: 7.984 kB / 0.6707 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.1621, allocations: 95.27 kB / 0.6708 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1621, allocations: 0 / 0.6708 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002352/0.1623, allocations: 23.83 kB / 0.6709 GB, free: 15.65 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.0001661/0.1625, allocations: 99.28 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1626, allocations: 27.92 kB / 0.671 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1626, allocations: 0 / 0.671 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.1627, allocations: 15.98 kB / 0.671 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1629, allocations: 0 / 0.671 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.1633, allocations: 168.3 kB / 0.6712 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1636, allocations: 0.6807 MB / 0.6718 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.1637, allocations: 15.42 kB / 0.6718 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1637, allocations: 0 / 0.6718 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.002702/0.1664, allocations: 0.7211 MB / 0.6725 GB, free: 13.86 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)