Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.conf.json 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/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03873/0.03873, allocations: 8.79 MB / 25.52 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 251.3 MB, free: 7.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 107.2 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 366 MB, free: 172 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002344/0.1818, allocations: 2.067 MB / 419.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.1821, allocations: 159.5 kB / 419.8 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.1821, allocations: 4 kB / 419.8 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.1823, allocations: 19.84 kB / 419.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1824, allocations: 63.52 kB / 419.8 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.1825, allocations: 35.98 kB / 419.9 MB, free: 18.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1828, allocations: 0.4902 MB / 420.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.1831, allocations: 240.8 kB / 420.6 MB, free: 17.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.1832, allocations: 139.5 kB / 420.7 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1833, allocations: 183.2 kB / 420.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.1834, allocations: 24 kB / 420.9 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.1834, allocations: 24 kB / 421 MB, free: 17.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.1835, allocations: 67.7 kB / 421 MB, free: 17.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1836, allocations: 183.2 kB / 421.2 MB, free: 17.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1839, allocations: 0.5279 MB / 421.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1839, allocations: 0 / 421.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1839, allocations: 0 / 421.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1839, allocations: 0 / 421.7 MB, free: 16.7 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0007863/0.1847, allocations: 0.6511 MB / 422.4 MB, free: 16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.1847, allocations: 12.03 kB / 422.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.1848, allocations: 32.56 kB / 422.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1851, allocations: 303.8 kB / 422.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1851, allocations: 25.03 kB / 422.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.1852, allocations: 28.38 kB / 422.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.1856, allocations: 402.4 kB / 423.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1857, allocations: 192 / 423.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1857, allocations: 15.88 kB / 423.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.1857, allocations: 12.66 kB / 423.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.1862, allocations: 358.4 kB / 423.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.1873, allocations: 1.425 MB / 425 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.1878, allocations: 382.5 kB / 425.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1881, allocations: 196.7 kB / 425.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1881, allocations: 4 kB / 425.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.069e-05/0.1881, allocations: 34.56 kB / 425.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.1881, allocations: 0 / 425.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0012/0.1893, allocations: 0.8619 MB / 426.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.1893, allocations: 63.34 kB / 426.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1895, allocations: 215.5 kB / 426.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1895, allocations: 25.7 kB / 426.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.1896, allocations: 168.3 kB / 426.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1896, allocations: 78.77 kB / 427 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1897, allocations: 45.64 kB / 427 MB, free: 11.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.1897, allocations: 338.8 kB / 427.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1899, allocations: 111.9 kB / 427.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.19, allocations: 124.6 kB / 427.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.1903, allocations: 278.2 kB / 427.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1903, allocations: 0 / 427.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005327/0.1909, allocations: 433 kB / 428.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1909, allocations: 4 kB / 428.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1909, allocations: 8 kB / 428.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.1912, allocations: 126.5 kB / 428.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1914, allocations: 43.84 kB / 428.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.1938, allocations: 4.697 MB / 433.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1939, allocations: 35.78 kB / 433.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1939, allocations: 8 kB / 433.2 MB, free: 4.445 MB / 298.7 MB 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1941, allocations: 207.8 kB / 433.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1941, allocations: 15.81 kB / 433.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1942, allocations: 33.86 kB / 433.4 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1942, allocations: 4 kB / 433.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1942, allocations: 0 / 433.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1942, allocations: 0 / 433.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1945, allocations: 433.2 kB / 433.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1945, allocations: 0 / 433.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.1947, allocations: 43.91 kB / 433.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.195, allocations: 134.4 kB / 434 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.195, allocations: 11.98 kB / 434.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.1975, allocations: 4.697 MB / 438.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1976, allocations: 4.125 kB / 438.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007418/0.205, allocations: 8.119 MB / 446.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.2051, allocations: 108.9 kB / 447 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.2051, allocations: 4 kB / 447 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.2053, allocations: 23.92 kB / 447 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2053, allocations: 24.11 kB / 447 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.2054, allocations: 4 kB / 447 MB, free: 5.539 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.2055, allocations: 168 kB / 447.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2055, allocations: 0 / 447.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007757/0.2063, allocations: 147.8 kB / 447.3 MB, free: 5.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.2064, allocations: 99.19 kB / 447.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00085/0.2073, allocations: 0.6597 MB / 448.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2073, allocations: 0 / 448.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005486/0.2078, allocations: 0.5219 MB / 448.6 MB, free: 3.867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2082, allocations: 51.97 kB / 448.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.2101, allocations: 1.593 MB / 450.3 MB, free: 2.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2105, allocations: 0.8575 MB / 451.1 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.2107, allocations: 57.91 kB / 451.2 MB, free: 1.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.2107, allocations: 15.44 kB / 451.2 MB, free: 1.188 MB / 314.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2107, allocations: 0 / 451.2 MB, free: 1.188 MB / 314.7 MB Notification: Performance of Templates: time 0.008597/0.2193, allocations: 5.4 MB / 456.6 MB, free: 11.83 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)