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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 104.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 195.8 kB / 299.8 MB, free: 9.848 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04089/0.04089, allocations: 8.937 MB / 363.6 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002357/0.002357, allocations: 84.08 kB / 486 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1098, allocations: 54.42 MB / 0.5278 GB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.004269/0.114, allocations: 2.018 MB / 0.5298 GB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004245/0.1145, allocations: 159.5 kB / 0.5299 GB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.1146, allocations: 0 / 0.5299 GB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.1147, allocations: 27.72 kB / 0.5299 GB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1149, allocations: 68.44 kB / 0.53 GB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1151, allocations: 47.91 kB / 0.53 GB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.1156, allocations: 497.9 kB / 0.5305 GB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.116, allocations: 205.2 kB / 0.5307 GB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1162, allocations: 187.4 kB / 0.5309 GB, free: 14.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1164, allocations: 191.3 kB / 0.5311 GB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.1165, allocations: 44 kB / 0.5311 GB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.1166, allocations: 48 kB / 0.5312 GB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1167, allocations: 95.75 kB / 0.5313 GB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.1169, allocations: 219.1 kB / 0.5315 GB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.1175, allocations: 0.5497 MB / 0.532 GB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1175, allocations: 0 / 0.532 GB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1175, allocations: 0 / 0.532 GB, free: 13.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1175, allocations: 0 / 0.532 GB, free: 13.05 MB / 350.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.001245/0.1188, allocations: 0.6508 MB / 0.5326 GB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1188, allocations: 8.031 kB / 0.5326 GB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.317e-05/0.1189, allocations: 70.72 kB / 0.5327 GB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.119, allocations: 36.75 kB / 0.5327 GB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.1194, allocations: 307.8 kB / 0.533 GB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1195, allocations: 25.02 kB / 0.5331 GB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.1195, allocations: 28.38 kB / 0.5331 GB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.1202, allocations: 390.5 kB / 0.5335 GB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.1202, allocations: 15.86 kB / 0.5335 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1202, allocations: 8 kB / 0.5335 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.1203, allocations: 16.66 kB / 0.5335 GB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.1209, allocations: 354.4 kB / 0.5338 GB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1227, allocations: 1.425 MB / 0.5352 GB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.1233, allocations: 370.5 kB / 0.5356 GB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.1236, allocations: 184 kB / 0.5358 GB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1236, allocations: 0 / 0.5358 GB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1237, allocations: 46.55 kB / 0.5358 GB, free: 8.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.072e-06/0.1237, allocations: 0 / 0.5358 GB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001639/0.1253, allocations: 0.8546 MB / 0.5366 GB, free: 7.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1254, allocations: 55.34 kB / 0.5367 GB, free: 7.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1256, allocations: 220.3 kB / 0.5369 GB, free: 7.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1256, allocations: 33.7 kB / 0.5369 GB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1257, allocations: 164.6 kB / 0.5371 GB, free: 7.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1258, allocations: 95.59 kB / 0.5372 GB, free: 7.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.1259, allocations: 37.72 kB / 0.5372 GB, free: 7.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1261, allocations: 330.8 kB / 0.5375 GB, free: 7.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1263, allocations: 123.9 kB / 0.5377 GB, free: 6.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.1265, allocations: 127.8 kB / 0.5378 GB, free: 6.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.127, allocations: 264.7 kB / 0.538 GB, free: 6.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.127, allocations: 0 / 0.538 GB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007491/0.1277, allocations: 436.1 kB / 0.5384 GB, free: 6.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1277, allocations: 8 kB / 0.5384 GB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1277, allocations: 0 / 0.5384 GB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.1282, allocations: 130.4 kB / 0.5386 GB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1283, allocations: 39.91 kB / 0.5386 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/0.1329, allocations: 5.168 MB / 0.5437 GB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.133, allocations: 19.91 kB / 0.5437 GB, free: 280 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.133, allocations: 12.06 kB / 0.5437 GB, free: 268 kB / 350.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.0002375/0.1332, allocations: 197.9 kB / 0.5439 GB, free: 60 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.1333, allocations: 23.8 kB / 0.5439 GB, free: 36 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.1334, allocations: 25.88 kB / 0.5439 GB, free: 8 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1334, allocations: 4 kB / 0.5439 GB, free: 4 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1334, allocations: 0 / 0.5439 GB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.1334, allocations: 8.047 kB / 0.5439 GB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.134, allocations: 429.2 kB / 0.5443 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.134, allocations: 0 / 0.5443 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.1342, allocations: 39.97 kB / 0.5444 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.1345, allocations: 142.4 kB / 0.5445 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1345, allocations: 7.984 kB / 0.5445 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/0.1388, allocations: 5.164 MB / 0.5496 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1388, allocations: 3.938 kB / 0.5496 GB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1398, allocations: 0.668 MB / 0.5502 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.1399, allocations: 93.02 kB / 0.5503 GB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.1399, allocations: 12.03 kB / 0.5503 GB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1401, allocations: 15.98 kB / 0.5503 GB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.1401, allocations: 19.92 kB / 0.5504 GB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1401, allocations: 4 kB / 0.5504 GB, free: 8.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1403, allocations: 165.2 kB / 0.5505 GB, free: 8.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1403, allocations: 0 / 0.5505 GB, free: 8.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005719/0.1409, allocations: 107.8 kB / 0.5506 GB, free: 8.629 MB / 366.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.001361/0.1422, allocations: 1.201 MB / 0.5518 GB, free: 7.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1433, allocations: 0.6428 MB / 0.5524 GB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1433, allocations: 0 / 0.5524 GB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.1439, allocations: 0.5231 MB / 0.5529 GB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1443, allocations: 43.97 kB / 0.553 GB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.1493, allocations: 3.489 MB / 0.5564 GB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.1498, allocations: 0.8458 MB / 0.5572 GB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.15, allocations: 65.81 kB / 0.5573 GB, free: 1.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1501, allocations: 71.42 kB / 0.5573 GB, free: 1.52 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1501, allocations: 3.938 kB / 0.5573 GB, free: 1.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/0.201, allocations: 7.332 MB / 0.5645 GB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.865/10.07, allocations: 6.672 kB / 0.5645 GB, free: 10.29 MB / 382.1 MB " [Timeout remaining time 650] (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: 13.012431772891432] Failed to read output from testmodel.py, exit status != 0: 10.316621338017285 10.166725348 10.046134866 Calling exit ...