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.001471/0.001471, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.602/1.602, allocations: 230.6 MB / 250.5 MB, free: 9.207 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.002492/0.002492, allocations: 208 kB / 306.7 MB, free: 4.285 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.04557/0.04557, allocations: 8.916 MB / 371.7 MB, free: 3.41 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.002771/0.002771, allocations: 79.89 kB / 496.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4112, allocations: 55.56 MB / 0.539 GB, free: 26.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003147/0.4144, allocations: 2.029 MB / 0.541 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.4147, allocations: 165.9 kB / 0.5412 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.4148, allocations: 3.156 kB / 0.5412 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.415, allocations: 22.5 kB / 0.5412 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.4152, allocations: 70.98 kB / 0.5413 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.4153, allocations: 41.34 kB / 0.5413 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.4158, allocations: 0.4897 MB / 0.5418 GB, free: 24.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.4161, allocations: 206.7 kB / 0.542 GB, free: 24.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.4162, allocations: 193.1 kB / 0.5422 GB, free: 24.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.4165, allocations: 187.4 kB / 0.5424 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.4165, allocations: 47.12 kB / 0.5424 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.4166, allocations: 44.47 kB / 0.5424 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.647e-05/0.4167, allocations: 103.9 kB / 0.5425 GB, free: 24.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.4169, allocations: 212.1 kB / 0.5427 GB, free: 24.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.4173, allocations: 0.5467 MB / 0.5433 GB, free: 24.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4173, allocations: 0 / 0.5433 GB, free: 24.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4173, allocations: 0 / 0.5433 GB, free: 24.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4173, allocations: 0 / 0.5433 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.001047/0.4184, allocations: 0.6498 MB / 0.5439 GB, free: 23.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4184, allocations: 9.656 kB / 0.5439 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.474e-05/0.4184, allocations: 7.406 kB / 0.5439 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.4185, allocations: 69.84 kB / 0.544 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.4186, allocations: 39.92 kB / 0.544 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.4189, allocations: 316.7 kB / 0.5443 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4189, allocations: 20.53 kB / 0.5444 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/0.419, allocations: 31.31 kB / 0.5444 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.4196, allocations: 395.2 kB / 0.5448 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4196, allocations: 15.09 kB / 0.5448 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.4196, allocations: 10.91 kB / 0.5448 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.4197, allocations: 17.09 kB / 0.5448 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.4202, allocations: 354.1 kB / 0.5451 GB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.4215, allocations: 1.417 MB / 0.5465 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.4221, allocations: 372.3 kB / 0.5469 GB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.4224, allocations: 188.2 kB / 0.5471 GB, free: 21.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.4224, allocations: 7.188 kB / 0.5471 GB, free: 21.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.4224, allocations: 34.56 kB / 0.5471 GB, free: 21.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.4224, allocations: 0 / 0.5471 GB, free: 21.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001435/0.4238, allocations: 0.8571 MB / 0.5479 GB, free: 21.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4239, allocations: 54.16 kB / 0.548 GB, free: 20.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.4241, allocations: 218.9 kB / 0.5482 GB, free: 20.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.4241, allocations: 32.67 kB / 0.5482 GB, free: 20.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.4241, allocations: 168.2 kB / 0.5484 GB, free: 20.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.4242, allocations: 83.47 kB / 0.5485 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.4243, allocations: 40.72 kB / 0.5485 GB, free: 20.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.4243, allocations: 335.5 kB / 0.5488 GB, free: 20.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.4245, allocations: 117.1 kB / 0.5489 GB, free: 20.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.4247, allocations: 121.8 kB / 0.5491 GB, free: 20.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.425, allocations: 270.8 kB / 0.5493 GB, free: 20.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.425, allocations: 0 / 0.5493 GB, free: 20.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006103/0.4256, allocations: 441 kB / 0.5497 GB, free: 19.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4256, allocations: 3.406 kB / 0.5497 GB, free: 19.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4256, allocations: 0 / 0.5497 GB, free: 19.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/0.426, allocations: 133 kB / 0.5499 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.4262, allocations: 41.14 kB / 0.5499 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.4293, allocations: 5.164 MB / 0.5549 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4295, allocations: 25.77 kB / 0.555 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4295, allocations: 13.44 kB / 0.555 GB, free: 14.93 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.0002155/0.4297, allocations: 194.3 kB / 0.5552 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.4298, allocations: 21.19 kB / 0.5552 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.4298, allocations: 31.39 kB / 0.5552 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4298, allocations: 3.062 kB / 0.5552 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4298, allocations: 0 / 0.5552 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.4299, allocations: 7.516 kB / 0.5552 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.4303, allocations: 432 kB / 0.5556 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4303, allocations: 0 / 0.5556 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.4305, allocations: 43.52 kB / 0.5557 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/0.4307, allocations: 135.7 kB / 0.5558 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.4308, allocations: 3 kB / 0.5558 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.4336, allocations: 5.171 MB / 0.5609 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4336, allocations: 4.125 kB / 0.5609 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.4344, allocations: 0.6728 MB / 0.5615 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.4345, allocations: 98.97 kB / 0.5616 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.4345, allocations: 11.03 kB / 0.5616 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4347, allocations: 16.95 kB / 0.5616 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.4348, allocations: 20.64 kB / 0.5617 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4348, allocations: 5.969 kB / 0.5617 GB, free: 9.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.435, allocations: 160.3 kB / 0.5618 GB, free: 8.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.435, allocations: 0 / 0.5618 GB, free: 8.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006801/0.4356, allocations: 105.5 kB / 0.5619 GB, free: 8.918 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.001162/0.4368, allocations: 1.209 MB / 0.5631 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009329/0.4377, allocations: 0.6367 MB / 0.5637 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4377, allocations: 0 / 0.5637 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.4383, allocations: 0.5173 MB / 0.5642 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.4387, allocations: 56.86 kB / 0.5643 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.4429, allocations: 3.495 MB / 0.5677 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4433, allocations: 0.8507 MB / 0.5685 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.4435, allocations: 52.84 kB / 0.5686 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.4436, allocations: 76.42 kB / 0.5687 GB, free: 4.223 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4436, allocations: 3.281 kB / 0.5687 GB, free: 4.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.4853, allocations: 7.357 MB / 0.5758 GB, free: 2.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.05, allocations: 11.95 kB / 0.5759 GB, free: 2.477 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: 15.265542823006399] Failed to read output from testmodel.py, exit status != 0: 12.199457604030613 12.215919654 11.7954298 Calling exit ...