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.001836/0.001836, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.455/1.455, allocations: 230.6 MB / 252.7 MB, free: 8.324 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.001578/0.001578, allocations: 211.8 kB / 309.2 MB, free: 3.172 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.04238/0.04238, allocations: 8.917 MB / 374.6 MB, free: 1.926 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: "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) [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.002482/0.002482, allocations: 91.86 kB / 0.4892 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2862, allocations: 55.59 MB / 0.5435 GB, free: 26.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002638/0.2889, allocations: 2.043 MB / 0.5455 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003562/0.2892, allocations: 155 kB / 0.5456 GB, free: 25.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.2893, allocations: 7 kB / 0.5456 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.2895, allocations: 25.8 kB / 0.5457 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.2896, allocations: 70.73 kB / 0.5457 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.2898, allocations: 37.03 kB / 0.5458 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.2901, allocations: 497.7 kB / 0.5462 GB, free: 24.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.2904, allocations: 160.2 kB / 0.5464 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.2905, allocations: 194.5 kB / 0.5466 GB, free: 24.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.2907, allocations: 187.6 kB / 0.5468 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.2908, allocations: 52.06 kB / 0.5468 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.008e-05/0.2908, allocations: 45.25 kB / 0.5469 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.332e-05/0.2909, allocations: 100.3 kB / 0.5469 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.291, allocations: 207 kB / 0.5471 GB, free: 24.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.2914, allocations: 0.5518 MB / 0.5477 GB, free: 24.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2915, allocations: 0 / 0.5477 GB, free: 24.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2915, allocations: 0 / 0.5477 GB, free: 24.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.2915, allocations: 0 / 0.5477 GB, free: 24.25 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.0009105/0.2924, allocations: 0.575 MB / 0.5482 GB, free: 23.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2924, allocations: 9.531 kB / 0.5483 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.2925, allocations: 69.17 kB / 0.5483 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.2925, allocations: 40.08 kB / 0.5484 GB, free: 23.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.2929, allocations: 257.6 kB / 0.5486 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2929, allocations: 22.03 kB / 0.5486 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2929, allocations: 35.25 kB / 0.5487 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.2934, allocations: 391 kB / 0.549 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2934, allocations: 7.875 kB / 0.549 GB, free: 23.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.2935, allocations: 15.22 kB / 0.5491 GB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.2935, allocations: 13.28 kB / 0.5491 GB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.294, allocations: 358.9 kB / 0.5494 GB, free: 23.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.2953, allocations: 1.387 MB / 0.5508 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.2959, allocations: 376.3 kB / 0.5511 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2962, allocations: 187.1 kB / 0.5513 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2962, allocations: 3 kB / 0.5513 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2962, allocations: 37.88 kB / 0.5513 GB, free: 21.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.844e-06/0.2962, allocations: 0 / 0.5513 GB, free: 21.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001352/0.2976, allocations: 0.6238 MB / 0.5519 GB, free: 21.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.2976, allocations: 58 kB / 0.552 GB, free: 21.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2978, allocations: 216.5 kB / 0.5522 GB, free: 21.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.2978, allocations: 29.7 kB / 0.5522 GB, free: 21.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2978, allocations: 177.5 kB / 0.5524 GB, free: 21.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.2979, allocations: 80.95 kB / 0.5525 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.298, allocations: 50.91 kB / 0.5525 GB, free: 21.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.298, allocations: 335.4 kB / 0.5529 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2982, allocations: 110.9 kB / 0.553 GB, free: 20.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.2983, allocations: 120 kB / 0.5531 GB, free: 20.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.2986, allocations: 272.6 kB / 0.5533 GB, free: 20.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2986, allocations: 0 / 0.5533 GB, free: 20.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000584/0.2992, allocations: 439.4 kB / 0.5538 GB, free: 20.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2992, allocations: 6 kB / 0.5538 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2992, allocations: 0 / 0.5538 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.2996, allocations: 133.9 kB / 0.5539 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2997, allocations: 49.02 kB / 0.5539 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.3024, allocations: 4.858 MB / 0.5587 GB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3025, allocations: 24.28 kB / 0.5587 GB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3025, allocations: 3.406 kB / 0.5587 GB, free: 16.01 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.0001884/0.3027, allocations: 201 kB / 0.5589 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3028, allocations: 24.86 kB / 0.5589 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.3028, allocations: 28.84 kB / 0.5589 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3028, allocations: 3.125 kB / 0.5589 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3028, allocations: 7.125 kB / 0.559 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3028, allocations: 3.422 kB / 0.559 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.3032, allocations: 396.4 kB / 0.5593 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3032, allocations: 0 / 0.5593 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3034, allocations: 47.08 kB / 0.5594 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.3036, allocations: 133.5 kB / 0.5595 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3037, allocations: 8 kB / 0.5595 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.3063, allocations: 4.862 MB / 0.5643 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3063, allocations: 0 / 0.5643 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.3071, allocations: 0.6584 MB / 0.5649 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.3071, allocations: 28.23 kB / 0.5649 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3072, allocations: 11.12 kB / 0.5649 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3073, allocations: 10.22 kB / 0.565 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.3074, allocations: 19.52 kB / 0.565 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3074, allocations: 9.406 kB / 0.565 GB, free: 10.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3075, allocations: 164.2 kB / 0.5651 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 0 / 0.5651 GB, free: 10.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.3081, allocations: 109.8 kB / 0.5652 GB, free: 10.51 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.001003/0.3091, allocations: 1.197 MB / 0.5664 GB, free: 9.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007615/0.3098, allocations: 0.6436 MB / 0.567 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3098, allocations: 0 / 0.567 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.3103, allocations: 0.514 MB / 0.5675 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3106, allocations: 48.52 kB / 0.5676 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.3146, allocations: 3.507 MB / 0.571 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3149, allocations: 0.8507 MB / 0.5718 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.3151, allocations: 49.53 kB / 0.5719 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3152, allocations: 78.42 kB / 0.572 GB, free: 5.824 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3152, allocations: 0 / 0.572 GB, free: 5.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.3681, allocations: 7.57 MB / 0.5794 GB, free: 3.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.03, allocations: 5.125 kB / 0.5794 GB, free: 3.609 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Thermal.TestLongRod_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.839963581995107] Failed to read output from testmodel.py, exit status != 0: 12.13592882300145 12.151123251 11.856553042 Calling exit ...