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.001453/0.001453, allocations: 106.1 kB / 16.45 MB, free: 6.508 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.512/1.512, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001744/0.001744, allocations: 220.6 kB / 306 MB, free: 4.289 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.04174/0.04174, allocations: 8.906 MB / 371 MB, free: 3.426 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.002472/0.002472, allocations: 82.8 kB / 495.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2845, allocations: 55.56 MB / 0.5384 GB, free: 26.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002554/0.2871, allocations: 2.028 MB / 0.5403 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.2874, allocations: 161.6 kB / 0.5405 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.2875, allocations: 3.25 kB / 0.5405 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.2876, allocations: 26.78 kB / 0.5405 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.2878, allocations: 74.86 kB / 0.5406 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.2879, allocations: 38.02 kB / 0.5406 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.2883, allocations: 498 kB / 0.5411 GB, free: 24.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.2886, allocations: 211.9 kB / 0.5413 GB, free: 24.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.2887, allocations: 188.1 kB / 0.5415 GB, free: 24.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.2889, allocations: 192.9 kB / 0.5417 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.289, allocations: 44.25 kB / 0.5417 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.407e-05/0.289, allocations: 46.94 kB / 0.5418 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.2891, allocations: 97.61 kB / 0.5418 GB, free: 24.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.2892, allocations: 218.4 kB / 0.5421 GB, free: 24.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.2896, allocations: 0.546 MB / 0.5426 GB, free: 24.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2896, allocations: 0 / 0.5426 GB, free: 24.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2896, allocations: 0 / 0.5426 GB, free: 24.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2896, allocations: 0 / 0.5426 GB, free: 24.03 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.0008863/0.2905, allocations: 0.6537 MB / 0.5432 GB, free: 23.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2906, allocations: 9.219 kB / 0.5432 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.475e-05/0.2906, allocations: 70.3 kB / 0.5433 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.2907, allocations: 39.83 kB / 0.5433 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.291, allocations: 311.8 kB / 0.5436 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.291, allocations: 25.28 kB / 0.5437 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.291, allocations: 31.69 kB / 0.5437 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.2916, allocations: 385.4 kB / 0.5441 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.2916, allocations: 3.938 kB / 0.5441 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.2916, allocations: 14.59 kB / 0.5441 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2917, allocations: 16.88 kB / 0.5441 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.2922, allocations: 363.5 kB / 0.5444 GB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.2935, allocations: 1.417 MB / 0.5458 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.294, allocations: 371.2 kB / 0.5462 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.2942, allocations: 189.9 kB / 0.5464 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2942, allocations: 3.312 kB / 0.5464 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.2943, allocations: 30.56 kB / 0.5464 GB, free: 21.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.2943, allocations: 0 / 0.5464 GB, free: 21.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.00135/0.2956, allocations: 0.8589 MB / 0.5472 GB, free: 21.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.2956, allocations: 58.31 kB / 0.5473 GB, free: 20.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.2958, allocations: 216 kB / 0.5475 GB, free: 20.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2958, allocations: 33.64 kB / 0.5475 GB, free: 20.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.2959, allocations: 173.3 kB / 0.5477 GB, free: 20.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.2959, allocations: 87.56 kB / 0.5478 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.296, allocations: 47.88 kB / 0.5478 GB, free: 20.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.296, allocations: 328.9 kB / 0.5481 GB, free: 20.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2962, allocations: 117.1 kB / 0.5482 GB, free: 20.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.2963, allocations: 114.5 kB / 0.5484 GB, free: 20.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.2967, allocations: 273.7 kB / 0.5486 GB, free: 20.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2967, allocations: 0 / 0.5486 GB, free: 20.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005943/0.2973, allocations: 441.2 kB / 0.549 GB, free: 19.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2973, allocations: 5.75 kB / 0.549 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2973, allocations: 0 / 0.549 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/0.2976, allocations: 140.9 kB / 0.5492 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2978, allocations: 34.59 kB / 0.5492 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.3006, allocations: 5.165 MB / 0.5542 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3007, allocations: 28.36 kB / 0.5543 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3008, allocations: 3.188 kB / 0.5543 GB, free: 14.94 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.0001799/0.3009, allocations: 200.7 kB / 0.5545 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.301, allocations: 20.56 kB / 0.5545 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.301, allocations: 36.64 kB / 0.5545 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3011, allocations: 3.125 kB / 0.5545 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3011, allocations: 3.031 kB / 0.5545 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3011, allocations: 0 / 0.5545 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.3014, allocations: 426.7 kB / 0.5549 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3014, allocations: 0 / 0.5549 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.3016, allocations: 40.59 kB / 0.555 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.3019, allocations: 138.6 kB / 0.5551 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3019, allocations: 7.281 kB / 0.5551 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.3044, allocations: 5.167 MB / 0.5602 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3044, allocations: 0 / 0.5602 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.3051, allocations: 0.6692 MB / 0.5608 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.3052, allocations: 106.3 kB / 0.5609 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3052, allocations: 7 kB / 0.5609 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3054, allocations: 9.547 kB / 0.5609 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.3054, allocations: 19.83 kB / 0.561 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3054, allocations: 10.31 kB / 0.561 GB, free: 9.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.3055, allocations: 158.5 kB / 0.5611 GB, free: 8.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3055, allocations: 0 / 0.5611 GB, free: 8.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.3061, allocations: 109.7 kB / 0.5612 GB, free: 8.934 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.0009242/0.307, allocations: 1.21 MB / 0.5624 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007295/0.3077, allocations: 0.6403 MB / 0.563 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3077, allocations: 0 / 0.563 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.3082, allocations: 0.5283 MB / 0.5635 GB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3086, allocations: 50.5 kB / 0.5636 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.3125, allocations: 3.499 MB / 0.567 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3127, allocations: 0.8466 MB / 0.5678 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.3129, allocations: 49.55 kB / 0.5679 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.313, allocations: 80.7 kB / 0.568 GB, free: 4.227 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.313, allocations: 0 / 0.568 GB, free: 4.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.3534, allocations: 7.321 MB / 0.5751 GB, free: 2.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.4, allocations: 15.36 kB / 0.5751 GB, free: 2.48 MB / 382.1 MB " [Timeout remaining time 650] (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: 13.247780257006525] Failed to read output from testmodel.py, exit status != 0: 10.485383585008094 10.511617174 10.217209538 Calling exit ...