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.001575/0.001575, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.527/1.527, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001568/0.001568, allocations: 207.9 kB / 309.2 MB, free: 3.156 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.04081/0.04081, allocations: 8.911 MB / 374.6 MB, free: 1.91 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.003879/0.003879, allocations: 87.81 kB / 0.4897 GB, free: 6.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4046, allocations: 55.6 MB / 0.544 GB, free: 27.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003116/0.4077, allocations: 2.04 MB / 0.546 GB, free: 25.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.4081, allocations: 158.9 kB / 0.5461 GB, free: 25.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.4082, allocations: 7.094 kB / 0.5461 GB, free: 25.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.4083, allocations: 25.59 kB / 0.5461 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.4085, allocations: 66.89 kB / 0.5462 GB, free: 25.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.4087, allocations: 44.73 kB / 0.5462 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.4091, allocations: 0.489 MB / 0.5467 GB, free: 25.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.4094, allocations: 158.4 kB / 0.5469 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.4095, allocations: 186.5 kB / 0.5471 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.4098, allocations: 194.2 kB / 0.5472 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.4098, allocations: 45.38 kB / 0.5473 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.4099, allocations: 47.19 kB / 0.5473 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.921e-05/0.41, allocations: 100.7 kB / 0.5474 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4101, allocations: 207.1 kB / 0.5476 GB, free: 24.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.4106, allocations: 0.5488 MB / 0.5482 GB, free: 24.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4106, allocations: 0 / 0.5482 GB, free: 24.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4106, allocations: 3.938 kB / 0.5482 GB, free: 24.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.4106, allocations: 0 / 0.5482 GB, free: 24.54 MB / 382.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.0009241/0.4115, allocations: 0.5782 MB / 0.5487 GB, free: 24.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4116, allocations: 11.72 kB / 0.5487 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.4116, allocations: 38.33 kB / 0.5488 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.412, allocations: 255.8 kB / 0.549 GB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.412, allocations: 21.72 kB / 0.549 GB, free: 23.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.4121, allocations: 31.62 kB / 0.5491 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.4126, allocations: 388.2 kB / 0.5494 GB, free: 23.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.4127, allocations: 3.344 kB / 0.5494 GB, free: 23.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.4127, allocations: 19.19 kB / 0.5495 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.4127, allocations: 10.09 kB / 0.5495 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.4132, allocations: 354.7 kB / 0.5498 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.4146, allocations: 1.389 MB / 0.5512 GB, free: 22.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.4152, allocations: 370.3 kB / 0.5515 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.4154, allocations: 179.8 kB / 0.5517 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4154, allocations: 7.031 kB / 0.5517 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.4155, allocations: 37.56 kB / 0.5517 GB, free: 22.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.283e-06/0.4155, allocations: 0 / 0.5517 GB, free: 22.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001294/0.4168, allocations: 0.6316 MB / 0.5523 GB, free: 22.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4168, allocations: 58.28 kB / 0.5524 GB, free: 22.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4169, allocations: 215.5 kB / 0.5526 GB, free: 21.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.417, allocations: 29.7 kB / 0.5526 GB, free: 21.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.417, allocations: 173.5 kB / 0.5528 GB, free: 21.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.4171, allocations: 86.62 kB / 0.5529 GB, free: 21.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.4171, allocations: 48.39 kB / 0.5529 GB, free: 21.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.4172, allocations: 335.6 kB / 0.5533 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4174, allocations: 114.5 kB / 0.5534 GB, free: 21.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.4175, allocations: 119.2 kB / 0.5535 GB, free: 21.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.4178, allocations: 279.1 kB / 0.5537 GB, free: 21.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4178, allocations: 0 / 0.5537 GB, free: 21.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005778/0.4184, allocations: 439.2 kB / 0.5542 GB, free: 20.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4184, allocations: 6.094 kB / 0.5542 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4184, allocations: 0 / 0.5542 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.4188, allocations: 135 kB / 0.5543 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4189, allocations: 48.3 kB / 0.5543 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.422, allocations: 4.845 MB / 0.5591 GB, free: 16.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4221, allocations: 21.67 kB / 0.5591 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4221, allocations: 10.44 kB / 0.5591 GB, free: 16.38 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.0002259/0.4224, allocations: 199.2 kB / 0.5593 GB, free: 16.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.4224, allocations: 24.88 kB / 0.5593 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.4225, allocations: 36.56 kB / 0.5594 GB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4225, allocations: 3.094 kB / 0.5594 GB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.4225, allocations: 6.562 kB / 0.5594 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.4225, allocations: 0 / 0.5594 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.423, allocations: 393.8 kB / 0.5597 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.423, allocations: 3.938 kB / 0.5597 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.4233, allocations: 42.3 kB / 0.5598 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.4236, allocations: 133 kB / 0.5599 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.4236, allocations: 12.83 kB / 0.5599 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/0.4269, allocations: 4.863 MB / 0.5647 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4269, allocations: 0 / 0.5647 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.4279, allocations: 0.6537 MB / 0.5653 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.4279, allocations: 34.58 kB / 0.5653 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.4279, allocations: 5.5 kB / 0.5653 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.4281, allocations: 13.89 kB / 0.5654 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.4282, allocations: 20.3 kB / 0.5654 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.4282, allocations: 6.062 kB / 0.5654 GB, free: 11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.4284, allocations: 163.9 kB / 0.5655 GB, free: 10.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4284, allocations: 0 / 0.5655 GB, free: 10.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.4289, allocations: 111.1 kB / 0.5656 GB, free: 10.87 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 0.000133/0.4291, allocations: 100.6 kB / 0.5657 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009764/0.43, allocations: 0.6381 MB / 0.5664 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.43, allocations: 0 / 0.5664 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.4306, allocations: 0.5168 MB / 0.5669 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.431, allocations: 51.91 kB / 0.5669 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.4323, allocations: 0.8642 MB / 0.5678 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.4327, allocations: 0.845 MB / 0.5686 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.4328, allocations: 50.75 kB / 0.5686 GB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.4328, allocations: 16.91 kB / 0.5687 GB, free: 8.656 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4328, allocations: 4 kB / 0.5687 GB, free: 8.652 MB / 382.1 MB Notification: Performance of Templates: time 0.01228/0.4451, allocations: 4.509 MB / 0.5731 GB, free: 8.254 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: 5.316631590016186] Failed to read output from testmodel.py, exit status != 0: 0.45566066494211555 0.46861987299999996 0.05508014000000001 Calling exit ...