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.0008942/0.0008942, 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.038/1.038, allocations: 177.1 MB / 200 MB, free: 5.539 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.001223/0.001223, allocations: 163.3 kB / 256.6 MB, free: 13 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.03187/0.03187, allocations: 6.653 MB / 319.8 MB, free: 26.53 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 2.094e-06/2.094e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.087e-05, allocations: 6.312 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003437/0.003458, allocations: 2.074 MB / 393.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000575/0.004033, allocations: 163.4 kB / 393.8 MB, free: 364 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004137, allocations: 8 kB / 393.9 MB, free: 356 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.004301, allocations: 31.72 kB / 393.9 MB, free: 324 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.004614, allocations: 67.41 kB / 394 MB, free: 256 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.004799, allocations: 39.95 kB / 394 MB, free: 216 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.005351, allocations: 0.5055 MB / 394.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.005646, allocations: 150.2 kB / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.00596, allocations: 283.5 kB / 394.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.006275, allocations: 203.6 kB / 395.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.006351, allocations: 48 kB / 395.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.006429, allocations: 48 kB / 395.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.006544, allocations: 95.69 kB / 395.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.006709, allocations: 155.7 kB / 395.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.007109, allocations: 335 kB / 395.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007111, allocations: 0 / 395.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.007112, allocations: 0 / 395.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.007118, allocations: 0 / 395.8 MB, free: 14.41 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.001017/0.008135, allocations: 0.6833 MB / 396.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.008186, allocations: 8.031 kB / 396.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.008326, allocations: 64.7 kB / 396.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.008703, allocations: 236.6 kB / 396.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.008732, allocations: 21.03 kB / 396.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.00881, allocations: 36.36 kB / 396.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.009306, allocations: 211.3 kB / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.009324, allocations: 8.141 kB / 397 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.009347, allocations: 12.38 kB / 397.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.009384, allocations: 17.03 kB / 397.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.009618, allocations: 115.8 kB / 397.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01076, allocations: 0.8665 MB / 398 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.01111, allocations: 193.2 kB / 398.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.01121, allocations: 82.81 kB / 398.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.01123, allocations: 4 kB / 398.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.01125, allocations: 45.23 kB / 398.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.01125, allocations: 0 / 398.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.000715/0.01197, allocations: 384.1 kB / 398.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.01199, allocations: 51.41 kB / 398.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.01213, allocations: 241.9 kB / 399 MB, free: 10.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.01215, allocations: 33.7 kB / 399.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.01224, allocations: 219.6 kB / 399.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.0123, allocations: 99.2 kB / 399.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.01235, allocations: 47.38 kB / 399.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01247, allocations: 0.5157 MB / 399.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.01253, allocations: 23.98 kB / 400 MB, free: 10.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.01258, allocations: 35.92 kB / 400 MB, free: 9.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.01272, allocations: 95.66 kB / 400.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01272, allocations: 4 kB / 400.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002961/0.01302, allocations: 232.8 kB / 400.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01303, allocations: 11.98 kB / 400.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01304, allocations: 0 / 400.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/0.0133, allocations: 95 kB / 400.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.01339, allocations: 39.91 kB / 400.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.0161, allocations: 5.941 MB / 406.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.01617, allocations: 27.83 kB / 406.4 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.01617, allocations: 8 kB / 406.4 MB, free: 3.141 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 9.312e-05/0.01627, allocations: 172.5 kB / 406.6 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.0163, allocations: 23.91 kB / 406.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.01633, allocations: 34.03 kB / 406.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01633, allocations: 4 kB / 406.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01633, allocations: 0 / 406.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01634, allocations: 0 / 406.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.01657, allocations: 280.3 kB / 406.9 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01657, allocations: 144 / 406.9 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.01667, allocations: 43.91 kB / 407 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.01686, allocations: 103 kB / 407.1 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01688, allocations: 4 kB / 407.1 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1261/0.1429, allocations: 5.944 MB / 413 MB, free: 77.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1429, allocations: 0 / 413 MB, free: 77.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.1436, allocations: 431.2 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1436, allocations: 24.42 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.1437, allocations: 7.359 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1438, allocations: 13.05 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.1439, allocations: 22.23 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1439, allocations: 8.562 kB / 413.5 MB, free: 77.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.144, allocations: 169.4 kB / 413.7 MB, free: 76.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.144, allocations: 1.781 kB / 413.7 MB, free: 76.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005836/0.1446, allocations: 110.9 kB / 413.8 MB, free: 76.96 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 0.0001127/0.1447, allocations: 100.4 kB / 413.9 MB, free: 76.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005945/0.1453, allocations: 0.669 MB / 414.6 MB, free: 76.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1453, allocations: 0.875 kB / 414.6 MB, free: 76.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.1456, allocations: 0.6235 MB / 415.2 MB, free: 75.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.146, allocations: 33.91 kB / 415.2 MB, free: 75.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1473, allocations: 0.6807 MB / 415.9 MB, free: 75.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.1474, allocations: 143.6 kB / 416 MB, free: 75.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1475, allocations: 36.31 kB / 416.1 MB, free: 75.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.1475, allocations: 18.5 kB / 416.1 MB, free: 75.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1475, allocations: 0 / 416.1 MB, free: 75.48 MB / 330.7 MB Notification: Performance of Templates: time 0.009306/0.1569, allocations: 4.167 MB / 420.3 MB, free: 75.17 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.198062213137746]