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.001125/0.001125, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01089/0.01089, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9679/0.9679, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 9.938 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 82.3 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001776/0.1598, allocations: 1.212 MB / 0.5891 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1609, allocations: 0.6283 MB / 0.5898 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.161, allocations: 0 / 0.5898 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.161, allocations: 3.938 kB / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.1611, allocations: 11.91 kB / 0.5898 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1615, allocations: 55.39 kB / 0.5898 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.1616, allocations: 35.86 kB / 0.5899 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1617, allocations: 23.98 kB / 0.5899 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.1618, allocations: 7.938 kB / 0.5899 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.1619, allocations: 15.92 kB / 0.5899 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1619, allocations: 7.984 kB / 0.5899 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.1621, allocations: 91.84 kB / 0.59 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.1622, allocations: 3.938 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1622, allocations: 41.62 kB / 0.59 GB, free: 472 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1624, allocations: 83.77 kB / 0.5901 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1624, allocations: 0 / 0.5901 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1624, allocations: 4 kB / 0.5901 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1624, allocations: 0 / 0.5901 GB, free: 384 kB / 494.1 MB 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.0004795/0.1629, allocations: 355.7 kB / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.163, allocations: 8.031 kB / 0.5905 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.163, allocations: 8.844 kB / 0.5905 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1631, allocations: 172.2 kB / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1632, allocations: 384 / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1632, allocations: 4.312 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1633, allocations: 69.97 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1634, allocations: 3.938 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1634, allocations: 0 / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1634, allocations: 7.984 kB / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.1635, allocations: 27.98 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1639, allocations: 284.7 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/0.164, allocations: 38.5 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.1641, allocations: 16.91 kB / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/0.1645, allocations: 0.5544 MB / 0.5916 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1646, allocations: 38.56 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1646, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002674/0.1649, allocations: 65.67 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1649, allocations: 51.41 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.165, allocations: 122 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.165, allocations: 33.64 kB / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.1651, allocations: 92.12 kB / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.1651, allocations: 7.844 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1652, allocations: 9.719 kB / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1653, allocations: 322.7 kB / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.1654, allocations: 11.98 kB / 0.5923 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.1654, allocations: 12 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.516e-05/0.1655, allocations: 32.91 kB / 0.5924 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1655, allocations: 0 / 0.5924 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001455/0.1657, allocations: 65.58 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1657, allocations: 4 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1657, allocations: 0 / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1657, allocations: 4.031 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.1658, allocations: 11.94 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1658, allocations: 0 / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.1658, allocations: 3.984 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1659, allocations: 4 kB / 0.5925 GB, free: 13.62 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 7.389e-05/0.1659, allocations: 113.8 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.166, allocations: 7.906 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.1662, allocations: 69.2 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1662, allocations: 0 / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1662, allocations: 0 / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1662, allocations: 0 / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.1663, allocations: 169.6 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1664, allocations: 0 / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.1664, allocations: 11.98 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1664, allocations: 0 / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1664, allocations: 11.91 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1665, allocations: 0 / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1665, allocations: 0 / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1666, allocations: 155.5 kB / 0.593 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.1667, allocations: 85 kB / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1667, allocations: 0 / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.1668, allocations: 8.031 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.1668, allocations: 0 / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1668, allocations: 0 / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.1669, allocations: 101.6 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1669, allocations: 3.938 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002303/0.1671, allocations: 11.94 kB / 0.5932 GB, free: 12.78 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.0001608/0.1673, allocations: 103.2 kB / 0.5933 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1674, allocations: 35.92 kB / 0.5933 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1675, allocations: 0 / 0.5933 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.1675, allocations: 12 kB / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1677, allocations: 7.984 kB / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.168, allocations: 152.8 kB / 0.5935 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1683, allocations: 0.6809 MB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.1684, allocations: 0 / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.1684, allocations: 15.42 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1684, allocations: 0 / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.002557/0.171, allocations: 440.8 kB / 0.5946 GB, free: 11.29 MB / 0.4981 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)