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.0008742/0.0008742, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9135/0.9135, allocations: 177.1 MB / 199.4 MB, free: 5.922 MB / 186.7 MB " [Timeout remaining time 179] 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.001104/0.001104, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02555/0.02555, allocations: 6.665 MB / 319 MB, free: 26.75 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.857e-05, allocations: 2.281 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.001812/0.001831, allocations: 1.947 MB / 447.3 MB, free: 35.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.00217, allocations: 159.4 kB / 447.5 MB, free: 35.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.002244, allocations: 8 kB / 447.5 MB, free: 35.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.002364, allocations: 23.78 kB / 447.5 MB, free: 35.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.002522, allocations: 71.34 kB / 447.6 MB, free: 35.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.002652, allocations: 39.95 kB / 447.6 MB, free: 35.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.002899, allocations: 0.5094 MB / 448.1 MB, free: 34.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.003099, allocations: 154.2 kB / 448.3 MB, free: 34.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.003264, allocations: 279.5 kB / 448.6 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.003426, allocations: 191.6 kB / 448.7 MB, free: 34.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.003469, allocations: 48 kB / 448.8 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-05/0.00351, allocations: 51.94 kB / 448.8 MB, free: 34.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.003576, allocations: 95.73 kB / 448.9 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.003655, allocations: 147.7 kB / 449.1 MB, free: 33.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.003923, allocations: 0.5572 MB / 449.6 MB, free: 33.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.003926, allocations: 0 / 449.6 MB, free: 33.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.003927, allocations: 0 / 449.6 MB, free: 33.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.003935, allocations: 4 kB / 449.6 MB, free: 33.36 MB / 330.7 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.0006312/0.004567, allocations: 0.5755 MB / 450.2 MB, free: 32.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.0046, allocations: 8.031 kB / 450.2 MB, free: 32.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.004645, allocations: 70.72 kB / 450.3 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.004688, allocations: 40.7 kB / 450.3 MB, free: 32.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.004922, allocations: 245.3 kB / 450.6 MB, free: 32.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.004939, allocations: 29.02 kB / 450.6 MB, free: 32.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.004976, allocations: 28.38 kB / 450.6 MB, free: 32.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.005357, allocations: 390.5 kB / 451 MB, free: 31.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.005371, allocations: 4.188 kB / 451 MB, free: 31.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.00539, allocations: 12.38 kB / 451 MB, free: 31.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.005412, allocations: 16.78 kB / 451 MB, free: 31.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.005751, allocations: 366.3 kB / 451.4 MB, free: 31.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.006598, allocations: 0.9799 MB / 452.4 MB, free: 30.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.007002, allocations: 382 kB / 452.7 MB, free: 30.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.007146, allocations: 186.6 kB / 452.9 MB, free: 29.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.007159, allocations: 4 kB / 452.9 MB, free: 29.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.007171, allocations: 30.56 kB / 453 MB, free: 29.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.684e-06/0.007173, allocations: 0 / 453 MB, free: 29.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.000795/0.007968, allocations: 0.6256 MB / 453.6 MB, free: 29.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.00799, allocations: 55.41 kB / 453.6 MB, free: 29.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.008101, allocations: 215.5 kB / 453.9 MB, free: 28.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.00811, allocations: 25.7 kB / 453.9 MB, free: 28.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.00815, allocations: 180.5 kB / 454.1 MB, free: 28.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.00819, allocations: 83.28 kB / 454.1 MB, free: 28.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.008232, allocations: 45.64 kB / 454.2 MB, free: 28.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.93e-05/0.008262, allocations: 330.8 kB / 454.5 MB, free: 28.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.00836, allocations: 119.9 kB / 454.6 MB, free: 28.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.008455, allocations: 127.9 kB / 454.7 MB, free: 28.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.008727, allocations: 268.6 kB / 455 MB, free: 27.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008729, allocations: 0 / 455 MB, free: 27.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003638/0.009093, allocations: 435.7 kB / 455.4 MB, free: 27.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.009106, allocations: 11.88 kB / 455.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009112, allocations: 0 / 455.4 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.009341, allocations: 134.5 kB / 455.6 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.009433, allocations: 35.98 kB / 455.6 MB, free: 27.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.01111, allocations: 4.839 MB / 460.5 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.01117, allocations: 23.91 kB / 460.5 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.01118, allocations: 4 kB / 460.5 MB, free: 21.94 MB / 330.7 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.0001016/0.01128, allocations: 206.4 kB / 460.7 MB, free: 21.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.0113, allocations: 23.97 kB / 460.7 MB, free: 21.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.01133, allocations: 33.97 kB / 460.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-06/0.01134, allocations: 4 kB / 460.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.01134, allocations: 3.938 kB / 460.7 MB, free: 21.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01135, allocations: 0 / 460.7 MB, free: 21.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.01156, allocations: 360.5 kB / 461.1 MB, free: 21.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01156, allocations: 0 / 461.1 MB, free: 21.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.01165, allocations: 43.91 kB / 461.1 MB, free: 21.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.01181, allocations: 138.5 kB / 461.3 MB, free: 21.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.01182, allocations: 4 kB / 461.3 MB, free: 21.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.01325, allocations: 4.827 MB / 466.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.01325, allocations: 3.984 kB / 466.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.01373, allocations: 0.6566 MB / 466.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.01375, allocations: 23.84 kB / 466.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.01377, allocations: 15.97 kB / 466.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.01384, allocations: 7.984 kB / 466.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.01388, allocations: 19.97 kB / 466.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01389, allocations: 12.06 kB / 466.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.39e-05/0.01397, allocations: 165.1 kB / 467 MB, free: 15 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01397, allocations: 0 / 467 MB, free: 15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003701/0.01434, allocations: 111.7 kB / 467.1 MB, free: 14.89 MB / 330.7 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.0005649/0.0149, allocations: 1.205 MB / 468.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.01537, allocations: 0.6441 MB / 469 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01537, allocations: 0 / 469 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.01561, allocations: 0.5193 MB / 469.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01585, allocations: 52.23 kB / 469.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.01829, allocations: 3.445 MB / 473 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.01842, allocations: 247 kB / 473.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.14e-05/0.0185, allocations: 49.91 kB / 473.3 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.01857, allocations: 76.47 kB / 473.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01857, allocations: 0 / 473.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.04599, allocations: 8.318 MB / 481.7 MB, free: 276 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.278, allocations: 7.672 kB / 481.7 MB, free: 272 kB / 330.7 MB " [Timeout remaining time 653] (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: 9.338861027732491] Failed to read output from testmodel.py, exit status != 0: 7.36764897685498 7.380628844 7.374736176 Calling exit ...