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.001219/0.001219, allocations: 106.3 kB / 16.41 MB, free: 6.008 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.001181/0.001181, allocations: 185.5 kB / 17.34 MB, free: 5.629 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8071/0.8071, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.16 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1592, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003018/0.1622, allocations: 1.481 MB / 0.6668 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1634, allocations: 0.6474 MB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.1635, allocations: 0 / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.1635, allocations: 7.922 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.1636, allocations: 7.938 kB / 0.6674 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.164, allocations: 79.72 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.1641, allocations: 35.92 kB / 0.6675 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1643, allocations: 8 kB / 0.6675 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.1643, allocations: 19.92 kB / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.1644, allocations: 15.92 kB / 0.6676 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1644, allocations: 7.938 kB / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.1646, allocations: 95.89 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.1647, allocations: 7.938 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1647, allocations: 19.88 kB / 0.6677 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1649, allocations: 87.75 kB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1649, allocations: 4 kB / 0.6678 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1649, allocations: 0 / 0.6678 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1649, allocations: 0 / 0.6678 GB, free: 3.262 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.0004894/0.1654, allocations: 359.4 kB / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1655, allocations: 13.11 kB / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1655, allocations: 4.844 kB / 0.6681 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1657, allocations: 164.4 kB / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1657, allocations: 4.375 kB / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1657, allocations: 4.375 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1659, allocations: 61.92 kB / 0.6684 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1659, allocations: 0 / 0.6684 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1659, allocations: 0 / 0.6684 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.166, allocations: 0 / 0.6684 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.1661, allocations: 27.98 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.1665, allocations: 288.7 kB / 0.6687 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.1666, allocations: 34.5 kB / 0.6687 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.1666, allocations: 12.92 kB / 0.6687 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.1671, allocations: 0.5544 MB / 0.6692 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1672, allocations: 46.56 kB / 0.6693 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1672, allocations: 0 / 0.6693 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002642/0.1674, allocations: 65.52 kB / 0.6694 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1675, allocations: 51.41 kB / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1676, allocations: 121.8 kB / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1676, allocations: 29.7 kB / 0.6695 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.1677, allocations: 88.14 kB / 0.6696 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1677, allocations: 7.891 kB / 0.6696 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1677, allocations: 17.84 kB / 0.6697 GB, free: 1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.1678, allocations: 318.8 kB / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.1679, allocations: 15.92 kB / 0.67 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.1679, allocations: 8 kB / 0.67 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.168, allocations: 24.84 kB / 0.67 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.168, allocations: 0 / 0.67 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.1681, allocations: 69.58 kB / 0.6701 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1682, allocations: 4 kB / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1682, allocations: 3.984 kB / 0.6701 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1682, allocations: 0 / 0.6701 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.1683, allocations: 4 kB / 0.6701 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1683, allocations: 4 kB / 0.6701 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.1683, allocations: 3.984 kB / 0.6701 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1683, allocations: 0 / 0.6701 GB, free: 0.5352 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 6.753e-05/0.1684, allocations: 121.8 kB / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1684, allocations: 0 / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.1686, allocations: 65.2 kB / 0.6703 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1686, allocations: 0 / 0.6703 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1686, allocations: 0 / 0.6703 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1686, allocations: 3.938 kB / 0.6703 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1688, allocations: 165.6 kB / 0.6704 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.1688, allocations: 3.938 kB / 0.6704 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.1688, allocations: 7.984 kB / 0.6704 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1689, allocations: 4.031 kB / 0.6704 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1689, allocations: 4 kB / 0.6704 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1689, allocations: 4 kB / 0.6705 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1689, allocations: 0 / 0.6705 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1691, allocations: 147.4 kB / 0.6706 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.1691, allocations: 89 kB / 0.6707 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1691, allocations: 0 / 0.6707 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.12e-05/0.1692, allocations: 8.031 kB / 0.6707 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1692, allocations: 4 kB / 0.6707 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1693, allocations: 4 kB / 0.6707 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.1693, allocations: 91.27 kB / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1693, allocations: 4 kB / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000225/0.1696, allocations: 11.94 kB / 0.6708 GB, free: 15.71 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.0001685/0.1697, allocations: 108.5 kB / 0.6709 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1699, allocations: 23.98 kB / 0.6709 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1699, allocations: 0 / 0.6709 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.1699, allocations: 12 kB / 0.6709 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1702, allocations: 7.984 kB / 0.6709 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.1705, allocations: 165.7 kB / 0.6711 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1707, allocations: 0.6845 MB / 0.6718 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.1707, allocations: 15.56 kB / 0.6718 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1708, allocations: 0 / 0.6718 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.002157/0.1729, allocations: 0.7198 MB / 0.6725 GB, free: 13.92 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)