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.001366/0.001366, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.505/1.505, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.001645/0.001645, allocations: 217.5 kB / 309.2 MB, free: 3.16 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.04104/0.04104, allocations: 8.907 MB / 374.6 MB, free: 1.918 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.002737/0.002737, allocations: 84.3 kB / 0.4892 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2814, allocations: 55.6 MB / 0.5435 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00253/0.2839, allocations: 2.042 MB / 0.5455 GB, free: 25.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.2842, allocations: 155.2 kB / 0.5456 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.2843, allocations: 7.219 kB / 0.5456 GB, free: 25.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2845, allocations: 29.19 kB / 0.5457 GB, free: 25.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2846, allocations: 71.17 kB / 0.5457 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.2848, allocations: 40.84 kB / 0.5458 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.2851, allocations: 498.9 kB / 0.5462 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.2854, allocations: 163.4 kB / 0.5464 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2855, allocations: 184.7 kB / 0.5466 GB, free: 24.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2858, allocations: 186.5 kB / 0.5468 GB, free: 24.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.2858, allocations: 52 kB / 0.5468 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.2859, allocations: 49.62 kB / 0.5469 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.286, allocations: 104.4 kB / 0.547 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2861, allocations: 203.8 kB / 0.5472 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.2865, allocations: 0.5486 MB / 0.5477 GB, free: 24.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2865, allocations: 0 / 0.5477 GB, free: 24.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2865, allocations: 0 / 0.5477 GB, free: 24.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.2865, allocations: 3.938 kB / 0.5477 GB, free: 24.23 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.0009211/0.2874, allocations: 0.5782 MB / 0.5483 GB, free: 23.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2875, allocations: 9.5 kB / 0.5483 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.2875, allocations: 69.81 kB / 0.5483 GB, free: 23.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.2876, allocations: 39.89 kB / 0.5484 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.288, allocations: 259.5 kB / 0.5486 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.288, allocations: 21.09 kB / 0.5486 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.288, allocations: 29.75 kB / 0.5487 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.2886, allocations: 391.5 kB / 0.549 GB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.2886, allocations: 3.938 kB / 0.549 GB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2886, allocations: 11.16 kB / 0.5491 GB, free: 23.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.2886, allocations: 20.62 kB / 0.5491 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.2891, allocations: 352.1 kB / 0.5494 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.2906, allocations: 1.381 MB / 0.5508 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.2912, allocations: 378.3 kB / 0.5511 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.2914, allocations: 184.4 kB / 0.5513 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2914, allocations: 6.984 kB / 0.5513 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.2914, allocations: 42.5 kB / 0.5513 GB, free: 21.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.2914, allocations: 0 / 0.5513 GB, free: 21.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001299/0.2927, allocations: 0.62 MB / 0.5519 GB, free: 21.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.2927, allocations: 58.53 kB / 0.552 GB, free: 21.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.2929, allocations: 220.3 kB / 0.5522 GB, free: 21.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2929, allocations: 29.7 kB / 0.5522 GB, free: 21.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.293, allocations: 167.7 kB / 0.5524 GB, free: 21.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.293, allocations: 86.72 kB / 0.5525 GB, free: 21.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.2931, allocations: 44.44 kB / 0.5525 GB, free: 21.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.2931, allocations: 332 kB / 0.5528 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2933, allocations: 118.8 kB / 0.553 GB, free: 20.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2934, allocations: 122.6 kB / 0.5531 GB, free: 20.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.2937, allocations: 272.7 kB / 0.5533 GB, free: 20.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2937, allocations: 0 / 0.5533 GB, free: 20.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005614/0.2943, allocations: 444.4 kB / 0.5538 GB, free: 20.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2943, allocations: 6.344 kB / 0.5538 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2943, allocations: 0 / 0.5538 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.2946, allocations: 132.5 kB / 0.5539 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2948, allocations: 46.16 kB / 0.5539 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.2975, allocations: 4.855 MB / 0.5587 GB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2976, allocations: 24.73 kB / 0.5587 GB, free: 16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2976, allocations: 7.125 kB / 0.5587 GB, free: 16 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.0001483/0.2978, allocations: 200.4 kB / 0.5589 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.2978, allocations: 25.2 kB / 0.5589 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.2979, allocations: 32.19 kB / 0.5589 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2979, allocations: 0 / 0.5589 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.2979, allocations: 10.61 kB / 0.559 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2979, allocations: 4 kB / 0.559 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.2983, allocations: 389.5 kB / 0.5593 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2983, allocations: 0 / 0.5593 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.2984, allocations: 41.94 kB / 0.5594 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.2987, allocations: 135 kB / 0.5595 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2987, allocations: 7.938 kB / 0.5595 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.3013, allocations: 4.855 MB / 0.5643 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3013, allocations: 4.125 kB / 0.5643 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.3021, allocations: 0.6617 MB / 0.5649 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3022, allocations: 23.91 kB / 0.5649 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.3022, allocations: 8.203 kB / 0.5649 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3023, allocations: 18 kB / 0.5649 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.3024, allocations: 20.02 kB / 0.565 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3024, allocations: 3.656 kB / 0.565 GB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3025, allocations: 162.6 kB / 0.5651 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3025, allocations: 0 / 0.5651 GB, free: 10.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005415/0.3031, allocations: 114.5 kB / 0.5652 GB, free: 10.5 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.0009678/0.304, allocations: 1.206 MB / 0.5664 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.3048, allocations: 0.6415 MB / 0.567 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3048, allocations: 0 / 0.567 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.3052, allocations: 0.52 MB / 0.5675 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3056, allocations: 52.02 kB / 0.5676 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.3095, allocations: 3.5 MB / 0.571 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3098, allocations: 0.8513 MB / 0.5718 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.3099, allocations: 50.03 kB / 0.5719 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.31, allocations: 77.97 kB / 0.572 GB, free: 5.809 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.31, allocations: 0 / 0.572 GB, free: 5.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/0.3545, allocations: 7.563 MB / 0.5794 GB, free: 3.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.09, allocations: 3.781 kB / 0.5794 GB, free: 3.645 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_TestLongRod_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.881763860117644] Failed to read output from testmodel.py, exit status != 0: 12.200781990075484 12.223664319 11.93244204 Calling exit ...