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.001613/0.001613, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.436/1.436, allocations: 230.6 MB / 253.4 MB, free: 8.062 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.001557/0.001557, allocations: 213.3 kB / 310 MB, free: 2.906 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.0411/0.0411, allocations: 8.918 MB / 375.4 MB, free: 1.68 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="cs",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.002395/0.002395, allocations: 83.89 kB / 0.4899 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2518, allocations: 55.58 MB / 0.5442 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002681/0.2545, allocations: 1.949 MB / 0.5461 GB, free: 25.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000355/0.2549, allocations: 158.8 kB / 0.5462 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.2549, allocations: 3 kB / 0.5462 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2551, allocations: 21.52 kB / 0.5463 GB, free: 25.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.2553, allocations: 76.05 kB / 0.5463 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2554, allocations: 36.47 kB / 0.5464 GB, free: 25.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.2558, allocations: 0.491 MB / 0.5468 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.2561, allocations: 162.5 kB / 0.547 GB, free: 24.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2562, allocations: 184 kB / 0.5472 GB, free: 24.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2564, allocations: 196.6 kB / 0.5474 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.2565, allocations: 47.22 kB / 0.5474 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.951e-05/0.2566, allocations: 47.88 kB / 0.5475 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.2566, allocations: 97.28 kB / 0.5475 GB, free: 24.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2568, allocations: 170.2 kB / 0.5477 GB, free: 24.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.2572, allocations: 0.5457 MB / 0.5482 GB, free: 24.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2572, allocations: 0 / 0.5482 GB, free: 24.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2572, allocations: 0 / 0.5482 GB, free: 24.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2572, allocations: 0 / 0.5482 GB, free: 24.21 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.0008853/0.2581, allocations: 0.585 MB / 0.5488 GB, free: 23.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2581, allocations: 13.34 kB / 0.5488 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.014e-05/0.2581, allocations: 14.41 kB / 0.5488 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.2582, allocations: 66.97 kB / 0.5489 GB, free: 23.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.2582, allocations: 40.23 kB / 0.5489 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.2585, allocations: 256.1 kB / 0.5492 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2585, allocations: 25.83 kB / 0.5492 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.2586, allocations: 35.72 kB / 0.5492 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.2591, allocations: 392.5 kB / 0.5496 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2591, allocations: 0 / 0.5496 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2592, allocations: 14.56 kB / 0.5496 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.2592, allocations: 17.38 kB / 0.5496 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.2596, allocations: 360.3 kB / 0.55 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.2608, allocations: 0.9904 MB / 0.551 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.2614, allocations: 366.1 kB / 0.5513 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.2616, allocations: 185.3 kB / 0.5515 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2616, allocations: 3 kB / 0.5515 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.2616, allocations: 30.56 kB / 0.5515 GB, free: 22.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.2616, allocations: 0 / 0.5515 GB, free: 22.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001331/0.263, allocations: 0.6301 MB / 0.5521 GB, free: 22.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.263, allocations: 58.34 kB / 0.5522 GB, free: 22.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2632, allocations: 218.7 kB / 0.5524 GB, free: 21.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2632, allocations: 25.7 kB / 0.5524 GB, free: 21.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2632, allocations: 177.4 kB / 0.5526 GB, free: 21.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.2633, allocations: 83.75 kB / 0.5527 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.2633, allocations: 40.75 kB / 0.5527 GB, free: 21.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.2634, allocations: 331.8 kB / 0.553 GB, free: 21.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2635, allocations: 120.5 kB / 0.5531 GB, free: 21.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2637, allocations: 118 kB / 0.5533 GB, free: 21.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.264, allocations: 266.5 kB / 0.5535 GB, free: 21.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.264, allocations: 7.156 kB / 0.5535 GB, free: 21.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00055/0.2645, allocations: 441 kB / 0.5539 GB, free: 20.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2645, allocations: 5.625 kB / 0.5539 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2645, allocations: 7.938 kB / 0.5539 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.2649, allocations: 134.1 kB / 0.5541 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.265, allocations: 37.91 kB / 0.5541 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.2676, allocations: 4.832 MB / 0.5588 GB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2677, allocations: 25.36 kB / 0.5589 GB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2678, allocations: 10.25 kB / 0.5589 GB, free: 16.4 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.0001598/0.2679, allocations: 201.4 kB / 0.5591 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.268, allocations: 25.2 kB / 0.5591 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.268, allocations: 35.56 kB / 0.5591 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.268, allocations: 3.125 kB / 0.5591 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.268, allocations: 0 / 0.5591 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.268, allocations: 0 / 0.5591 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.2683, allocations: 354.7 kB / 0.5595 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2683, allocations: 0 / 0.5595 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.2685, allocations: 40.69 kB / 0.5595 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.2688, allocations: 144.2 kB / 0.5596 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2688, allocations: 14.77 kB / 0.5596 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.2714, allocations: 4.826 MB / 0.5644 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2714, allocations: 2.656 kB / 0.5644 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.2721, allocations: 0.6643 MB / 0.565 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.2722, allocations: 19.67 kB / 0.565 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.2722, allocations: 8.156 kB / 0.565 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2723, allocations: 18.05 kB / 0.5651 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.2724, allocations: 19.28 kB / 0.5651 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2724, allocations: 6.531 kB / 0.5651 GB, free: 11.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.2725, allocations: 163.7 kB / 0.5652 GB, free: 10.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2725, allocations: 0 / 0.5652 GB, free: 10.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005241/0.273, allocations: 109.8 kB / 0.5653 GB, free: 10.95 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.0009761/0.274, allocations: 1.209 MB / 0.5665 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007034/0.2747, allocations: 0.6391 MB / 0.5671 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2747, allocations: 0 / 0.5671 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.2752, allocations: 0.5201 MB / 0.5677 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.2755, allocations: 47.97 kB / 0.5677 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.2796, allocations: 3.502 MB / 0.5711 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.2799, allocations: 240.7 kB / 0.5713 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.28, allocations: 57.2 kB / 0.5714 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2801, allocations: 78.03 kB / 0.5715 GB, free: 6.875 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2801, allocations: 0 / 0.5715 GB, free: 6.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.3193, allocations: 7.883 MB / 0.5792 GB, free: 4.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.13, allocations: 11.45 kB / 0.5792 GB, free: 4.57 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.83578906499315] Failed to read output from testmodel.py, exit status != 0: 12.292374987970106 12.308280283 12.047959833 Calling exit ...