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/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.001263/0.001263, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.032/1.032, allocations: 177.1 MB / 200 MB, free: 5.844 MB / 186.7 MB " [Timeout remaining time 179] 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.00158/0.00158, allocations: 164.6 kB / 256.6 MB, free: 13.14 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02255/0.02255, allocations: 6.663 MB / 319.8 MB, free: 26.5 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 391.6 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.36e-05, allocations: 2.312 kB / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002637/0.002661, allocations: 2.074 MB / 393.7 MB, free: 500 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004064/0.003067, allocations: 171.4 kB / 393.9 MB, free: 328 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.003159, allocations: 4 kB / 393.9 MB, free: 324 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.003292, allocations: 19.73 kB / 393.9 MB, free: 304 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.003474, allocations: 75.39 kB / 394 MB, free: 228 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.00363, allocations: 39.95 kB / 394 MB, free: 188 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.004009, allocations: 0.5056 MB / 394.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.004245, allocations: 158.2 kB / 394.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.004495, allocations: 279.5 kB / 394.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.004721, allocations: 199.6 kB / 395.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.004777, allocations: 44 kB / 395.2 MB, free: 15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.004831, allocations: 48 kB / 395.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.004921, allocations: 103.7 kB / 395.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.005032, allocations: 151.7 kB / 395.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.005338, allocations: 331 kB / 395.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005341, allocations: 0 / 395.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005342, allocations: 0 / 395.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.005348, allocations: 0 / 395.8 MB, free: 14.38 MB / 330.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.0007317/0.006079, allocations: 0.6872 MB / 396.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.006117, allocations: 12.02 kB / 396.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.006211, allocations: 68.64 kB / 396.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.006449, allocations: 228.7 kB / 396.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.006467, allocations: 25.03 kB / 396.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.006508, allocations: 36.31 kB / 396.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.006826, allocations: 215.3 kB / 397 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.00684, allocations: 4.141 kB / 397 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.006861, allocations: 8.375 kB / 397.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.006889, allocations: 13.03 kB / 397.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.007106, allocations: 115.8 kB / 397.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/0.008054, allocations: 0.8822 MB / 398.1 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.008424, allocations: 190.7 kB / 398.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.008527, allocations: 76.06 kB / 398.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.008538, allocations: 4 kB / 398.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.00856, allocations: 37.25 kB / 398.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.008562, allocations: 0 / 398.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007127/0.009274, allocations: 395.9 kB / 398.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.0093, allocations: 59.41 kB / 398.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.009429, allocations: 233.9 kB / 399 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.009444, allocations: 29.7 kB / 399.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.00952, allocations: 219.3 kB / 399.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.009583, allocations: 103.5 kB / 399.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.009637, allocations: 47.38 kB / 399.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.009771, allocations: 0.5157 MB / 399.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.009828, allocations: 27.98 kB / 400 MB, free: 9.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.009879, allocations: 27.92 kB / 400 MB, free: 9.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.01002, allocations: 99.66 kB / 400.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01002, allocations: 4 kB / 400.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003025/0.01032, allocations: 228.8 kB / 400.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.01034, allocations: 4 kB / 400.3 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01034, allocations: 0 / 400.3 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.01059, allocations: 103 kB / 400.4 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.01069, allocations: 47.91 kB / 400.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.01354, allocations: 5.941 MB / 406.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.01362, allocations: 27.83 kB / 406.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01363, allocations: 4 kB / 406.4 MB, free: 3.109 MB / 330.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.0001138/0.01374, allocations: 172.6 kB / 406.6 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.01377, allocations: 23.91 kB / 406.6 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.0138, allocations: 29.95 kB / 406.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.0138, allocations: 0 / 406.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.01382, allocations: 8 kB / 406.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01382, allocations: 0 / 406.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.01408, allocations: 280.3 kB / 407 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01409, allocations: 0 / 407 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.0142, allocations: 43.91 kB / 407 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.0144, allocations: 98.98 kB / 407.1 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.01441, allocations: 8 kB / 407.1 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1221/0.1365, allocations: 5.939 MB / 413 MB, free: 77.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1365, allocations: 0 / 413 MB, free: 77.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.137, allocations: 430.5 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.137, allocations: 27.7 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.137, allocations: 7.297 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1371, allocations: 9.188 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1372, allocations: 21.22 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1372, allocations: 7.562 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.1372, allocations: 170.2 kB / 413.7 MB, free: 76.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 1.094 kB / 413.7 MB, free: 76.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.1376, allocations: 106.9 kB / 413.8 MB, free: 76.95 MB / 330.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 8.44e-05/0.1377, allocations: 104.2 kB / 413.9 MB, free: 76.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.1382, allocations: 0.6702 MB / 414.6 MB, free: 76.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1382, allocations: 0 / 414.6 MB, free: 76.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.1385, allocations: 0.6195 MB / 415.2 MB, free: 75.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1387, allocations: 40.2 kB / 415.2 MB, free: 75.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1397, allocations: 0.6825 MB / 415.9 MB, free: 75.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.621e-05/0.1398, allocations: 141.6 kB / 416.1 MB, free: 75.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.532e-05/0.1399, allocations: 38.98 kB / 416.1 MB, free: 75.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1399, allocations: 17.12 kB / 416.1 MB, free: 75.48 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1399, allocations: 0 / 416.1 MB, free: 75.48 MB / 330.7 MB Notification: Performance of Templates: time 0.00722/0.1471, allocations: 4.314 MB / 420.4 MB, free: 75.13 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3741886569187045]