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.001346/0.001346, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.495/1.495, allocations: 230.6 MB / 253.4 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] 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.0016/0.0016, allocations: 216.8 kB / 310 MB, free: 3.113 MB / 238.1 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.04218/0.04218, allocations: 8.926 MB / 375.3 MB, free: 6.578 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002583/0.002583, allocations: 79.88 kB / 0.4903 GB, free: 44.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09291, allocations: 55.61 MB / 0.5447 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00337/0.09628, allocations: 1.94 MB / 0.5465 GB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000414/0.09669, allocations: 159.4 kB / 0.5467 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.09677, allocations: 4 kB / 0.5467 GB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.09692, allocations: 23.78 kB / 0.5467 GB, free: 2.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.09712, allocations: 75.45 kB / 0.5468 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.09727, allocations: 39.91 kB / 0.5468 GB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.0978, allocations: 497.9 kB / 0.5473 GB, free: 1.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.09813, allocations: 158.1 kB / 0.5475 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.09833, allocations: 195.4 kB / 0.5476 GB, free: 1.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.09863, allocations: 203.3 kB / 0.5478 GB, free: 1.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.0987, allocations: 44 kB / 0.5479 GB, free: 1.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.584e-05/0.09879, allocations: 48 kB / 0.5479 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.0989, allocations: 95.75 kB / 0.548 GB, free: 1.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.0991, allocations: 179.3 kB / 0.5482 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.09968, allocations: 0.553 MB / 0.5487 GB, free: 356 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.09968, allocations: 0 / 0.5487 GB, free: 356 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09968, allocations: 0 / 0.5487 GB, free: 356 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.09969, allocations: 0 / 0.5487 GB, free: 356 kB / 366.1 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.00113/0.1008, allocations: 0.573 MB / 0.5493 GB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1009, allocations: 19.97 kB / 0.5493 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.101, allocations: 36.7 kB / 0.5493 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.1014, allocations: 262 kB / 0.5496 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1014, allocations: 21.03 kB / 0.5496 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.1015, allocations: 32.38 kB / 0.5496 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.1022, allocations: 394.5 kB / 0.55 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1022, allocations: 192 / 0.55 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1023, allocations: 19.94 kB / 0.55 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.1023, allocations: 12.66 kB / 0.5501 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.1029, allocations: 362.3 kB / 0.5504 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1046, allocations: 0.9297 MB / 0.5513 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.1053, allocations: 362.5 kB / 0.5517 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1056, allocations: 188.7 kB / 0.5518 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1056, allocations: 0 / 0.5518 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1056, allocations: 34.56 kB / 0.5519 GB, free: 13.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.202e-06/0.1056, allocations: 0 / 0.5519 GB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001589/0.1072, allocations: 0.628 MB / 0.5525 GB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1072, allocations: 59.28 kB / 0.5525 GB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1075, allocations: 202.2 kB / 0.5527 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1075, allocations: 29.7 kB / 0.5528 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1076, allocations: 172.5 kB / 0.5529 GB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.1077, allocations: 87.64 kB / 0.553 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.1078, allocations: 41.7 kB / 0.553 GB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1079, allocations: 330.8 kB / 0.5534 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1081, allocations: 119.9 kB / 0.5535 GB, free: 11.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1083, allocations: 119.9 kB / 0.5536 GB, free: 11.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.1088, allocations: 273.1 kB / 0.5538 GB, free: 10.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1088, allocations: 0 / 0.5538 GB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007648/0.1095, allocations: 435.6 kB / 0.5543 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1096, allocations: 4 kB / 0.5543 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1096, allocations: 4 kB / 0.5543 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.11, allocations: 126.5 kB / 0.5544 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1102, allocations: 39.97 kB / 0.5544 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.1148, allocations: 4.77 MB / 0.5591 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1149, allocations: 23.91 kB / 0.5591 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1149, allocations: 7.938 kB / 0.5591 GB, free: 5.195 MB / 382.1 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.000252/0.1152, allocations: 209.8 kB / 0.5593 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.1152, allocations: 15.91 kB / 0.5593 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.1153, allocations: 25.97 kB / 0.5594 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1153, allocations: 4 kB / 0.5594 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1153, allocations: 0 / 0.5594 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.1153, allocations: 7.984 kB / 0.5594 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.1157, allocations: 309 kB / 0.5597 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1157, allocations: 4 kB / 0.5597 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.1159, allocations: 35.97 kB / 0.5597 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.1163, allocations: 138.4 kB / 0.5598 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1163, allocations: 8 kB / 0.5598 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2131/0.3294, allocations: 4.753 MB / 0.5645 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3294, allocations: 0 / 0.5645 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/0.3304, allocations: 0.6562 MB / 0.5651 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.3304, allocations: 29.78 kB / 0.5652 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3304, allocations: 8.344 kB / 0.5652 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.3306, allocations: 11.52 kB / 0.5652 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.3307, allocations: 21.33 kB / 0.5652 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3307, allocations: 6.438 kB / 0.5652 GB, free: 24.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3308, allocations: 157.4 kB / 0.5653 GB, free: 23.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3308, allocations: 0.5312 kB / 0.5653 GB, free: 23.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005739/0.3314, allocations: 101.8 kB / 0.5654 GB, free: 23.95 MB / 382.1 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 9.2e-05/0.3315, allocations: 105.2 kB / 0.5655 GB, free: 23.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.3322, allocations: 0.6559 MB / 0.5662 GB, free: 23.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3322, allocations: 1.5 kB / 0.5662 GB, free: 23.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.3326, allocations: 0.5122 MB / 0.5667 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.333, allocations: 45.94 kB / 0.5667 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3342, allocations: 0.8772 MB / 0.5676 GB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.3344, allocations: 238.2 kB / 0.5678 GB, free: 22.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.3344, allocations: 17.81 kB / 0.5678 GB, free: 22.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3344, allocations: 0 / 0.5678 GB, free: 22.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01187/0.3463, allocations: 8.892 MB / 0.5765 GB, free: 21.6 MB / 382.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.338354935869575] Failed to read output from testmodel.py, exit status != 0: 0.35399401700124145 0.36729945399999997 0.26480717699999995 Calling exit ...