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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002531/0.002531, allocations: 219 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9036/0.9036, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 70.53 kB / 0.6198 GB, free: 6.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1732, allocations: 85.9 MB / 0.7037 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002972/0.1761, allocations: 1.53 MB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1775, allocations: 0.7448 MB / 0.7059 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.1776, allocations: 0 / 0.7059 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.1776, allocations: 3.938 kB / 0.7059 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.1777, allocations: 15.8 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1782, allocations: 91.73 kB / 0.706 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.1783, allocations: 39.86 kB / 0.706 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1784, allocations: 19.91 kB / 0.7061 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1785, allocations: 15.94 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.1785, allocations: 15.92 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1786, allocations: 4 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.1788, allocations: 115.9 kB / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.1788, allocations: 7.922 kB / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.1788, allocations: 23.86 kB / 0.7062 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.179, allocations: 95.7 kB / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1791, allocations: 0 / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1791, allocations: 4 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.1791, allocations: 0 / 0.7063 GB, free: 14.14 MB / 0.5294 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.0005082/0.1796, allocations: 297.9 kB / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1796, allocations: 8.031 kB / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1798, allocations: 20.81 kB / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.18, allocations: 126.4 kB / 0.7068 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.18, allocations: 4.375 kB / 0.7068 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.18, allocations: 4.375 kB / 0.7068 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1802, allocations: 65.97 kB / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1802, allocations: 0 / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1802, allocations: 0 / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1802, allocations: 0 / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1803, allocations: 35.91 kB / 0.7069 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1807, allocations: 243.9 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/0.1808, allocations: 34.58 kB / 0.7071 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1809, allocations: 16.84 kB / 0.7071 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.1811, allocations: 35.97 kB / 0.7072 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.1812, allocations: 30.56 kB / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.1812, allocations: 4 kB / 0.7072 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002683/0.1814, allocations: 61.67 kB / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1815, allocations: 55.41 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1816, allocations: 121.5 kB / 0.7074 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1816, allocations: 25.7 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.1817, allocations: 100.1 kB / 0.7076 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1817, allocations: 3.953 kB / 0.7076 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1818, allocations: 17.84 kB / 0.7076 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1819, allocations: 322.8 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.182, allocations: 7.938 kB / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.182, allocations: 15.98 kB / 0.7079 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.428e-05/0.1821, allocations: 24.84 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1821, allocations: 0 / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001328/0.1822, allocations: 53.75 kB / 0.708 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1822, allocations: 8 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1823, allocations: 0 / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1823, allocations: 0 / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.1823, allocations: 7.938 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1823, allocations: 3.984 kB / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.1824, allocations: 7.938 kB / 0.708 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1824, allocations: 3.938 kB / 0.708 GB, free: 12.23 MB / 0.5294 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.0001028/0.1825, allocations: 117.8 kB / 0.7081 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1825, allocations: 7.953 kB / 0.7081 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.1827, allocations: 61.3 kB / 0.7082 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1827, allocations: 7.938 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1827, allocations: 0 / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1827, allocations: 0 / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1829, allocations: 136.7 kB / 0.7083 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1829, allocations: 0 / 0.7083 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1829, allocations: 7.984 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1829, allocations: 0 / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1829, allocations: 4.031 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.183, allocations: 8 kB / 0.7084 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.183, allocations: 0 / 0.7084 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1832, allocations: 159.4 kB / 0.7085 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.1832, allocations: 7.953 kB / 0.7085 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1832, allocations: 0 / 0.7085 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.1833, allocations: 4.031 kB / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1833, allocations: 8 kB / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.1833, allocations: 7.969 kB / 0.7085 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.1834, allocations: 95.27 kB / 0.7086 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1834, allocations: 0 / 0.7086 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000252/0.1836, allocations: 15.94 kB / 0.7086 GB, free: 11.52 MB / 0.5294 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.0001807/0.1838, allocations: 103.2 kB / 0.7087 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.184, allocations: 39.91 kB / 0.7088 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.184, allocations: 0 / 0.7088 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.184, allocations: 8 kB / 0.7088 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1842, allocations: 0 / 0.7088 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.1846, allocations: 168.6 kB / 0.7089 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1849, allocations: 0.6844 MB / 0.7096 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.185, allocations: 15.5 kB / 0.7096 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.185, allocations: 4 kB / 0.7096 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.002409/0.1874, allocations: 0.8186 MB / 0.7104 GB, free: 9.613 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.899568994995207] Failed to read output from testmodel.py, exit status != 0: 0.19534312188625336 0.21110622 0.028939080000000002 Calling exit ...