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.001693/0.001693, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.671/1.671, allocations: 230.6 MB / 253.4 MB, free: 14.46 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.001694/0.001694, allocations: 213.5 kB / 310 MB, free: 3.137 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.04333/0.04333, allocations: 8.912 MB / 375.4 MB, free: 6.754 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.002422/0.002422, allocations: 79.88 kB / 0.4899 GB, free: 44.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1083, allocations: 55.61 MB / 0.5442 GB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003632/0.1119, allocations: 2.045 MB / 0.5462 GB, free: 3.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004633/0.1124, allocations: 167.4 kB / 0.5464 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.124e-05/0.1125, allocations: 0 / 0.5464 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1126, allocations: 27.72 kB / 0.5464 GB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.1129, allocations: 67.53 kB / 0.5465 GB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1131, allocations: 39.91 kB / 0.5465 GB, free: 2.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.1136, allocations: 0.4941 MB / 0.547 GB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.1139, allocations: 154.5 kB / 0.5472 GB, free: 2.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1141, allocations: 183.5 kB / 0.5473 GB, free: 2.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.1144, allocations: 195.2 kB / 0.5475 GB, free: 1.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.1145, allocations: 48 kB / 0.5476 GB, free: 1.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.1146, allocations: 44 kB / 0.5476 GB, free: 1.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1147, allocations: 95.75 kB / 0.5477 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.115, allocations: 215.1 kB / 0.5479 GB, free: 1.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.1156, allocations: 0.5529 MB / 0.5484 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1156, allocations: 0 / 0.5484 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1156, allocations: 4 kB / 0.5485 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1156, allocations: 0 / 0.5485 GB, free: 0.8945 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.001286/0.1169, allocations: 0.5756 MB / 0.549 GB, free: 292 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.117, allocations: 11.98 kB / 0.549 GB, free: 280 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.726e-05/0.117, allocations: 12.84 kB / 0.549 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.105e-05/0.1171, allocations: 66.72 kB / 0.5491 GB, free: 192 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.474e-05/0.1171, allocations: 36.7 kB / 0.5491 GB, free: 156 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.1177, allocations: 262.1 kB / 0.5494 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1177, allocations: 25.02 kB / 0.5494 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.1178, allocations: 32.38 kB / 0.5494 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.1185, allocations: 390.3 kB / 0.5498 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1186, allocations: 3.938 kB / 0.5498 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1186, allocations: 15.98 kB / 0.5498 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.1186, allocations: 16.66 kB / 0.5498 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.1193, allocations: 362.4 kB / 0.5502 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.1214, allocations: 1.375 MB / 0.5515 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007644/0.1221, allocations: 370.5 kB / 0.5519 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.1224, allocations: 183.3 kB / 0.5521 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1225, allocations: 4 kB / 0.5521 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1225, allocations: 30.56 kB / 0.5521 GB, free: 12.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 3.396e-06/0.1225, allocations: 4 kB / 0.5521 GB, free: 12.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0017/0.1242, allocations: 0.6359 MB / 0.5527 GB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1242, allocations: 51.41 kB / 0.5528 GB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.1245, allocations: 223.5 kB / 0.553 GB, free: 12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.1246, allocations: 29.7 kB / 0.553 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1247, allocations: 176.5 kB / 0.5532 GB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1248, allocations: 87.27 kB / 0.5533 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.1249, allocations: 45.64 kB / 0.5533 GB, free: 11.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.125, allocations: 326.8 kB / 0.5536 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1253, allocations: 115.9 kB / 0.5537 GB, free: 11.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.1254, allocations: 115.9 kB / 0.5538 GB, free: 11.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.1259, allocations: 273.2 kB / 0.5541 GB, free: 10.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1259, allocations: 0 / 0.5541 GB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000791/0.1267, allocations: 439.6 kB / 0.5545 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1267, allocations: 9.719 kB / 0.5545 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1267, allocations: 4 kB / 0.5545 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.1271, allocations: 134.4 kB / 0.5547 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1273, allocations: 39.91 kB / 0.5547 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.1321, allocations: 4.854 MB / 0.5594 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1324, allocations: 23.91 kB / 0.5595 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1324, allocations: 8 kB / 0.5595 GB, free: 4.953 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.0003273/0.1327, allocations: 202.5 kB / 0.5597 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.1328, allocations: 27.8 kB / 0.5597 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.1329, allocations: 29.95 kB / 0.5597 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1329, allocations: 4 kB / 0.5597 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.1329, allocations: 3.938 kB / 0.5597 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1329, allocations: 0 / 0.5597 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.1335, allocations: 400.4 kB / 0.5601 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1335, allocations: 0 / 0.5601 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1337, allocations: 39.97 kB / 0.5601 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.134, allocations: 138.3 kB / 0.5603 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1341, allocations: 8 kB / 0.5603 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3071/0.4412, allocations: 4.842 MB / 0.565 GB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4412, allocations: 0 / 0.565 GB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.4421, allocations: 0.6612 MB / 0.5657 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.4422, allocations: 31.94 kB / 0.5657 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4422, allocations: 3.5 kB / 0.5657 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.4424, allocations: 13.06 kB / 0.5657 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.4425, allocations: 26.55 kB / 0.5657 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.4425, allocations: 7.156 kB / 0.5657 GB, free: 23.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.4426, allocations: 164.1 kB / 0.5659 GB, free: 23.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4426, allocations: 0 / 0.5659 GB, free: 23.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006023/0.4432, allocations: 113.1 kB / 0.566 GB, free: 23.84 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.001104/0.4443, allocations: 1.193 MB / 0.5672 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.4453, allocations: 0.6409 MB / 0.5678 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4453, allocations: 6.609 kB / 0.5678 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.4458, allocations: 0.5171 MB / 0.5683 GB, free: 22.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.4462, allocations: 60.89 kB / 0.5684 GB, free: 22.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.4504, allocations: 3.499 MB / 0.5718 GB, free: 21.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4507, allocations: 0.8478 MB / 0.5726 GB, free: 20.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.4509, allocations: 52.03 kB / 0.5727 GB, free: 20.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.451, allocations: 77.45 kB / 0.5727 GB, free: 20.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.451, allocations: 4 kB / 0.5727 GB, free: 20.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0516/0.5026, allocations: 7.608 MB / 0.5802 GB, free: 19.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.43, allocations: 3.656 kB / 0.5802 GB, free: 19.5 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.836292264051735] Failed to read output from testmodel.py, exit status != 0: 13.592712330049835 13.616878073 13.497111116 Calling exit ...