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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 245.5 MB, free: 14.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 186.8 kB / 300.5 MB, free: 9.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0438/0.0438, allocations: 8.939 MB / 364.3 MB, free: 10.17 MB / 302.1 MB " [Timeout remaining time 180] 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002378/0.002378, allocations: 88.88 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08976, allocations: 54.41 MB / 0.5289 GB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003329/0.09309, allocations: 2.019 MB / 0.5309 GB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.09344, allocations: 163.4 kB / 0.5311 GB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.09351, allocations: 0 / 0.5311 GB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.09365, allocations: 31.72 kB / 0.5311 GB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.09384, allocations: 60.45 kB / 0.5311 GB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.09402, allocations: 51.88 kB / 0.5312 GB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.09454, allocations: 493.9 kB / 0.5317 GB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.09492, allocations: 209.7 kB / 0.5319 GB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.09509, allocations: 183.4 kB / 0.532 GB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.09538, allocations: 195.3 kB / 0.5322 GB, free: 13.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.09546, allocations: 44 kB / 0.5323 GB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.09556, allocations: 48 kB / 0.5323 GB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.09568, allocations: 95.75 kB / 0.5324 GB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.09591, allocations: 215.1 kB / 0.5326 GB, free: 13.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.09649, allocations: 0.5452 MB / 0.5331 GB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.0965, allocations: 8 kB / 0.5331 GB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.0965, allocations: 0 / 0.5331 GB, free: 12.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.09651, allocations: 0 / 0.5331 GB, free: 12.52 MB / 350.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.001133/0.09764, allocations: 0.6508 MB / 0.5338 GB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.09767, allocations: 12.03 kB / 0.5338 GB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.09775, allocations: 36.75 kB / 0.5338 GB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.09817, allocations: 307.8 kB / 0.5341 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.0982, allocations: 25.03 kB / 0.5341 GB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.09826, allocations: 28.38 kB / 0.5342 GB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.099, allocations: 386.5 kB / 0.5345 GB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.09902, allocations: 8.125 kB / 0.5345 GB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.09905, allocations: 11.94 kB / 0.5346 GB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.09908, allocations: 12.66 kB / 0.5346 GB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.09975, allocations: 370.3 kB / 0.5349 GB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.1016, allocations: 1.413 MB / 0.5363 GB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.1024, allocations: 370.5 kB / 0.5367 GB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.1027, allocations: 184.8 kB / 0.5368 GB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1027, allocations: 0 / 0.5368 GB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1027, allocations: 34.56 kB / 0.5369 GB, free: 8.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.082e-06/0.1027, allocations: 0 / 0.5369 GB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001764/0.1045, allocations: 0.8644 MB / 0.5377 GB, free: 7.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1045, allocations: 59.28 kB / 0.5378 GB, free: 7.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.1048, allocations: 212.3 kB / 0.538 GB, free: 7.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1048, allocations: 33.7 kB / 0.538 GB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1049, allocations: 180.5 kB / 0.5382 GB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.043e-05/0.105, allocations: 87.23 kB / 0.5383 GB, free: 6.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.1051, allocations: 41.7 kB / 0.5383 GB, free: 6.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1052, allocations: 330.8 kB / 0.5386 GB, free: 6.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.1055, allocations: 119.9 kB / 0.5387 GB, free: 6.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1057, allocations: 123.9 kB / 0.5388 GB, free: 6.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.1061, allocations: 268.7 kB / 0.5391 GB, free: 6.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1061, allocations: 0 / 0.5391 GB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008064/0.1069, allocations: 432.1 kB / 0.5395 GB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1069, allocations: 8 kB / 0.5395 GB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1069, allocations: 3.984 kB / 0.5395 GB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.1074, allocations: 134.5 kB / 0.5397 GB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1076, allocations: 39.91 kB / 0.5397 GB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/0.1124, allocations: 5.164 MB / 0.5447 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.1126, allocations: 23.91 kB / 0.5448 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1126, allocations: 4 kB / 0.5448 GB, free: 15.81 MB / 366.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.0002143/0.1128, allocations: 201.8 kB / 0.545 GB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.1128, allocations: 19.86 kB / 0.545 GB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-05/0.1129, allocations: 37.8 kB / 0.545 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1129, allocations: 4 kB / 0.545 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1129, allocations: 0 / 0.545 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1129, allocations: 4 kB / 0.545 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.1135, allocations: 429.2 kB / 0.5454 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1135, allocations: 0 / 0.5454 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1137, allocations: 43.97 kB / 0.5455 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/0.114, allocations: 138.4 kB / 0.5456 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.114, allocations: 7.938 kB / 0.5456 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/0.1188, allocations: 5.157 MB / 0.5506 GB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1188, allocations: 0 / 0.5506 GB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1198, allocations: 0.6681 MB / 0.5513 GB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.1199, allocations: 104.9 kB / 0.5514 GB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1199, allocations: 8 kB / 0.5514 GB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1201, allocations: 11.98 kB / 0.5514 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.1202, allocations: 15.97 kB / 0.5514 GB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1202, allocations: 8 kB / 0.5514 GB, free: 8.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1203, allocations: 165.2 kB / 0.5516 GB, free: 8.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1203, allocations: 0 / 0.5516 GB, free: 8.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005475/0.1209, allocations: 103.8 kB / 0.5517 GB, free: 8.18 MB / 366.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 0.0001803/0.1211, allocations: 103.2 kB / 0.5518 GB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1221, allocations: 0.6404 MB / 0.5524 GB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1221, allocations: 0 / 0.5524 GB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.1228, allocations: 0.5116 MB / 0.5529 GB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1231, allocations: 55.84 kB / 0.553 GB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1246, allocations: 0.8703 MB / 0.5538 GB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.1251, allocations: 0.838 MB / 0.5546 GB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.1252, allocations: 23.44 kB / 0.5547 GB, free: 5 MB / 366.1 MB Notification: Performance of SimCode: time 2.274e-06/0.1252, allocations: 0 / 0.5547 GB, free: 5 MB / 366.1 MB Notification: Performance of Templates: time 0.01211/0.1373, allocations: 8.902 MB / 0.5634 GB, free: 12.09 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: 7.991882495116442] Failed to read output from testmodel.py, exit status != 0: 0.28452347684651613 0.15866922 0.059254745000000004 Calling exit ...