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.001513/0.001513, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.472/1.472, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.00162/0.00162, allocations: 216.2 kB / 309.2 MB, free: 3.152 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.04157/0.04157, allocations: 8.909 MB / 374.6 MB, free: 6.641 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.002515/0.002515, allocations: 83.88 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.08086, allocations: 55.61 MB / 0.5434 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00314/0.084, allocations: 1.942 MB / 0.5453 GB, free: 3.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004356/0.08443, allocations: 167.5 kB / 0.5455 GB, free: 2.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.08451, allocations: 4 kB / 0.5455 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.08465, allocations: 31.72 kB / 0.5455 GB, free: 2.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.08485, allocations: 63.53 kB / 0.5456 GB, free: 2.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.08501, allocations: 43.89 kB / 0.5456 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.08553, allocations: 493.9 kB / 0.5461 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.08584, allocations: 154.5 kB / 0.5462 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.08604, allocations: 191.5 kB / 0.5464 GB, free: 2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.08634, allocations: 215.2 kB / 0.5466 GB, free: 1.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.0864, allocations: 44 kB / 0.5467 GB, free: 1.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.08649, allocations: 48 kB / 0.5467 GB, free: 1.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.0866, allocations: 91.77 kB / 0.5468 GB, free: 1.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.08681, allocations: 183.3 kB / 0.547 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.08739, allocations: 0.5529 MB / 0.5475 GB, free: 0.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.0874, allocations: 0 / 0.5475 GB, free: 0.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.0874, allocations: 0 / 0.5475 GB, free: 0.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.08741, allocations: 0 / 0.5475 GB, free: 0.875 MB / 366.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.001123/0.08853, allocations: 0.5735 MB / 0.5481 GB, free: 276 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.08857, allocations: 15.98 kB / 0.5481 GB, free: 260 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.605e-05/0.08866, allocations: 70.72 kB / 0.5482 GB, free: 180 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/0.08873, allocations: 36.7 kB / 0.5482 GB, free: 144 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.08917, allocations: 262 kB / 0.5484 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.08919, allocations: 25.03 kB / 0.5485 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.08925, allocations: 28.38 kB / 0.5485 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.0899, allocations: 386.5 kB / 0.5489 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.08992, allocations: 7.875 kB / 0.5489 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.08996, allocations: 16 kB / 0.5489 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.08999, allocations: 16.64 kB / 0.5489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.09064, allocations: 354.4 kB / 0.5492 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.09231, allocations: 0.9877 MB / 0.5502 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.09303, allocations: 370.5 kB / 0.5506 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.09332, allocations: 176.8 kB / 0.5507 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.09334, allocations: 4 kB / 0.5507 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.09337, allocations: 42.5 kB / 0.5508 GB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.09338, allocations: 3.938 kB / 0.5508 GB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001573/0.09495, allocations: 0.6229 MB / 0.5514 GB, free: 12.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.095, allocations: 55.34 kB / 0.5514 GB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.09525, allocations: 219.5 kB / 0.5516 GB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.09528, allocations: 33.7 kB / 0.5517 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.0954, allocations: 172.5 kB / 0.5518 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.09549, allocations: 83.27 kB / 0.5519 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.09556, allocations: 41.72 kB / 0.552 GB, free: 12.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.09571, allocations: 338.8 kB / 0.5523 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.09591, allocations: 111.9 kB / 0.5524 GB, free: 11.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.09611, allocations: 119.9 kB / 0.5525 GB, free: 11.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.09652, allocations: 273.1 kB / 0.5528 GB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.09653, allocations: 0 / 0.5528 GB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007411/0.09727, allocations: 435.6 kB / 0.5532 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.09728, allocations: 8 kB / 0.5532 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.09729, allocations: 0 / 0.5532 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004017/0.09769, allocations: 134.4 kB / 0.5533 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.09787, allocations: 47.91 kB / 0.5534 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.1022, allocations: 4.831 MB / 0.5581 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1024, allocations: 23.91 kB / 0.5581 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1024, allocations: 4 kB / 0.5581 GB, free: 5.449 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.0002388/0.1027, allocations: 201.8 kB / 0.5583 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.1027, allocations: 23.8 kB / 0.5583 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.1028, allocations: 33.95 kB / 0.5584 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1028, allocations: 0 / 0.5584 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.1028, allocations: 4 kB / 0.5584 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1028, allocations: 0 / 0.5584 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.1033, allocations: 356.5 kB / 0.5587 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1033, allocations: 0 / 0.5587 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.1035, allocations: 43.97 kB / 0.5587 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000344/0.1038, allocations: 142.5 kB / 0.5589 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1039, allocations: 11.98 kB / 0.5589 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1874/0.2913, allocations: 4.814 MB / 0.5636 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2913, allocations: 0.6562 kB / 0.5636 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.2922, allocations: 0.6674 MB / 0.5642 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.2923, allocations: 24.2 kB / 0.5643 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.2923, allocations: 8.359 kB / 0.5643 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2925, allocations: 12.28 kB / 0.5643 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.2926, allocations: 23.73 kB / 0.5643 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2926, allocations: 2.844 kB / 0.5643 GB, free: 23.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.2927, allocations: 170.2 kB / 0.5645 GB, free: 23.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2927, allocations: 3.281 kB / 0.5645 GB, free: 23.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006095/0.2933, allocations: 103.1 kB / 0.5646 GB, free: 23.86 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.001094/0.2944, allocations: 1.203 MB / 0.5657 GB, free: 23.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.2954, allocations: 0.6434 MB / 0.5664 GB, free: 22.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2954, allocations: 0.625 kB / 0.5664 GB, free: 22.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.2959, allocations: 0.5245 MB / 0.5669 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2963, allocations: 49.89 kB / 0.5669 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.3, allocations: 3.505 MB / 0.5704 GB, free: 21.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3003, allocations: 241.7 kB / 0.5706 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.3004, allocations: 51.36 kB / 0.5706 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3005, allocations: 78.97 kB / 0.5707 GB, free: 20.99 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3005, allocations: 0 / 0.5707 GB, free: 20.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.3451, allocations: 8.169 MB / 0.5787 GB, free: 19.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.87, allocations: 6.75 kB / 0.5787 GB, free: 19.55 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.681811527814716] Failed to read output from testmodel.py, exit status != 0: 11.978669485077262 11.999759418 11.908537285 Calling exit ...