Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.00183/0.00183, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] 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.001447/0.001447, allocations: 160.9 kB / 23.01 MB, free: 4.598 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04115/0.04115, allocations: 6.485 MB / 266.3 MB, free: 10.27 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: EHPTlib 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.002164/0.002164, allocations: 63.91 kB / 392.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09694, allocations: 55.4 MB / 448 MB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005955/0.1029, allocations: 3.609 MB / 451.6 MB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.1064, allocations: 1.928 MB / 453.6 MB, free: 13.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.1066, allocations: 11.94 kB / 453.6 MB, free: 13.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.1071, allocations: 210.8 kB / 453.8 MB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006716/0.1078, allocations: 282.5 kB / 454 MB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009014/0.1087, allocations: 422.9 kB / 454.5 MB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.1095, allocations: 0.6667 MB / 455.1 MB, free: 12.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.1098, allocations: 160.2 kB / 455.3 MB, free: 12.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.1103, allocations: 286.8 kB / 455.6 MB, free: 11.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.1107, allocations: 290.6 kB / 455.8 MB, free: 11.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/0.1108, allocations: 56 kB / 455.9 MB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.111, allocations: 116 kB / 456 MB, free: 11.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.1112, allocations: 227.2 kB / 456.2 MB, free: 11.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.1115, allocations: 270.4 kB / 456.5 MB, free: 10.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1126, allocations: 0.9103 MB / 457.4 MB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1126, allocations: 3.938 kB / 457.4 MB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1126, allocations: 0 / 457.4 MB, free: 10.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.1126, allocations: 0 / 457.4 MB, free: 10.07 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001914/0.1145, allocations: 1.066 MB / 458.5 MB, free: 8.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1145, allocations: 8.031 kB / 458.5 MB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1147, allocations: 88.38 kB / 458.6 MB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.1155, allocations: 0.5495 MB / 459.1 MB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.1156, allocations: 37.11 kB / 459.2 MB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.1157, allocations: 43.95 kB / 459.2 MB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1167, allocations: 474.3 kB / 459.7 MB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.1167, allocations: 4 kB / 459.7 MB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.1168, allocations: 16 kB / 459.7 MB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1168, allocations: 12 kB / 459.7 MB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009359/0.1177, allocations: 327.7 kB / 460 MB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.1206, allocations: 1.507 MB / 461.5 MB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1216, allocations: 346.7 kB / 461.9 MB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.122, allocations: 128.8 kB / 462 MB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.122, allocations: 7.984 kB / 462 MB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.1226, allocations: 189.1 kB / 462.2 MB, free: 5.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 2.033e-06/0.1226, allocations: 0 / 462.2 MB, free: 5.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.001969/0.1245, allocations: 0.5746 MB / 462.8 MB, free: 4.535 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.1246, allocations: 85.11 kB / 462.8 MB, free: 4.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1259, allocations: 0.9377 MB / 463.8 MB, free: 3.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.1259, allocations: 33.7 kB / 463.8 MB, free: 3.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.1263, allocations: 364.5 kB / 464.2 MB, free: 3.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/0.1264, allocations: 99.2 kB / 464.3 MB, free: 2.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1265, allocations: 74.06 kB / 464.3 MB, free: 2.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.1267, allocations: 386.7 kB / 464.7 MB, free: 2.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.1272, allocations: 172.1 kB / 464.9 MB, free: 2.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.1277, allocations: 267.1 kB / 465.1 MB, free: 2.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00088/0.1286, allocations: 370.2 kB / 465.5 MB, free: 1.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1286, allocations: 0 / 465.5 MB, free: 1.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001316/0.1299, allocations: 0.5646 MB / 466.1 MB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.1299, allocations: 37.92 kB / 466.1 MB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.13, allocations: 8 kB / 466.1 MB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/0.1303, allocations: 64.75 kB / 466.2 MB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.1306, allocations: 79.88 kB / 466.3 MB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.1326, allocations: 1.684 MB / 467.9 MB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.1329, allocations: 55.8 kB / 468 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.133, allocations: 19.94 kB / 468 MB, free: 15.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006592/0.1336, allocations: 370.6 kB / 468.4 MB, free: 14.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004503/0.1341, allocations: 259.2 kB / 468.6 MB, free: 14.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007538/0.1348, allocations: 340.4 kB / 469 MB, free: 13.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.1348, allocations: 0 / 469 MB, free: 13.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001189/0.136, allocations: 0.5403 MB / 469.5 MB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.136, allocations: 37.64 kB / 469.5 MB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.136, allocations: 0 / 469.5 MB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.1363, allocations: 65 kB / 469.6 MB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.1366, allocations: 71.89 kB / 469.7 MB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.1384, allocations: 1.684 MB / 471.4 MB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.1387, allocations: 39.81 kB / 471.4 MB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.1387, allocations: 16 kB / 471.4 MB, free: 11.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.1389, allocations: 200.2 kB / 471.6 MB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.139, allocations: 71.58 kB / 471.7 MB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.1402, allocations: 425.1 kB / 472.1 MB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1403, allocations: 7.938 kB / 472.1 MB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1403, allocations: 0 / 472.1 MB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1403, allocations: 7.938 kB / 472.1 MB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.142, allocations: 0.8894 MB / 473 MB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.142, allocations: 192 / 473 MB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.1423, allocations: 59.95 kB / 473.1 MB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.1425, allocations: 56.81 kB / 473.1 MB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.1426, allocations: 4 kB / 473.1 MB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.1444, allocations: 1.676 MB / 474.8 MB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1444, allocations: 4 kB / 474.8 MB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.1459, allocations: 0.649 MB / 475.4 MB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.1461, allocations: 83.55 kB / 475.5 MB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.1462, allocations: 11.94 kB / 475.5 MB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.1465, allocations: 24.16 kB / 475.6 MB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.1466, allocations: 27.94 kB / 475.6 MB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1466, allocations: 16 kB / 475.6 MB, free: 7.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009348/0.1475, allocations: 0.6669 MB / 476.3 MB, free: 6.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1475, allocations: 0 / 476.3 MB, free: 6.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008967/0.1484, allocations: 247.3 kB / 476.5 MB, free: 6.121 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002609/0.151, allocations: 0.6334 MB / 477.1 MB, free: 5.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.153, allocations: 0.9023 MB / 478 MB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.153, allocations: 0 / 478 MB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.1536, allocations: 282.9 kB / 478.3 MB, free: 4.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.1542, allocations: 94.2 kB / 478.4 MB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.1567, allocations: 1.391 MB / 479.8 MB, free: 3.004 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.1571, allocations: 350.1 kB / 480.1 MB, free: 2.637 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.1574, allocations: 92.31 kB / 480.2 MB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1575, allocations: 40.5 kB / 480.3 MB, free: 2.504 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1575, allocations: 0 / 480.3 MB, free: 2.504 MB / 446.1 MB Notification: Performance of Templates: time 0.1963/0.3538, allocations: 7.715 MB / 488 MB, free: 70.64 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.831391306011938] Failed to read output from testmodel.py, exit status != 0: 0.3622171569149941 0.37257544800000003 0.25682897600000004 Calling exit ...