Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001351/0.001351, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.001398/0.001398, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.04107/0.04107, allocations: 6.481 MB / 266.3 MB, free: 10.24 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [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.002157/0.002157, allocations: 67.91 kB / 392.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09958, allocations: 55.39 MB / 448 MB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005659/0.1052, allocations: 3.511 MB / 451.5 MB, free: 15.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.1085, allocations: 1.889 MB / 453.4 MB, free: 14.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.1087, allocations: 7.938 kB / 453.4 MB, free: 14.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.1092, allocations: 206.9 kB / 453.6 MB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.1099, allocations: 282.6 kB / 453.9 MB, free: 13.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.1108, allocations: 403 kB / 454.3 MB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008745/0.1117, allocations: 0.6432 MB / 454.9 MB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.112, allocations: 143.2 kB / 455.1 MB, free: 12.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.1123, allocations: 263 kB / 455.3 MB, free: 12.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.1127, allocations: 306.6 kB / 455.6 MB, free: 11.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.782e-05/0.1128, allocations: 56 kB / 455.7 MB, free: 11.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.1131, allocations: 179.9 kB / 455.9 MB, free: 11.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.1133, allocations: 219.3 kB / 456.1 MB, free: 11.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1136, allocations: 258.5 kB / 456.3 MB, free: 11.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1149, allocations: 0.9494 MB / 457.3 MB, free: 10.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1149, allocations: 3.938 kB / 457.3 MB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1149, allocations: 0 / 457.3 MB, free: 10.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1149, allocations: 4 kB / 457.3 MB, free: 10.18 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001959/0.1169, allocations: 1.059 MB / 458.4 MB, free: 9.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1169, allocations: 8.031 kB / 458.4 MB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.117, allocations: 88.38 kB / 458.4 MB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.118, allocations: 0.5496 MB / 459 MB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.118, allocations: 29.12 kB / 459 MB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/0.1181, allocations: 40 kB / 459.1 MB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1191, allocations: 0.4956 MB / 459.6 MB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.1191, allocations: 3.984 kB / 459.6 MB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.1192, allocations: 16 kB / 459.6 MB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.1192, allocations: 8 kB / 459.6 MB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.1201, allocations: 311.7 kB / 459.9 MB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.1226, allocations: 1.446 MB / 461.3 MB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009934/0.1236, allocations: 314.8 kB / 461.6 MB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.1239, allocations: 116.7 kB / 461.8 MB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.124, allocations: 7.984 kB / 461.8 MB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005102/0.1245, allocations: 187.1 kB / 462 MB, free: 5.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.1245, allocations: 4 kB / 462 MB, free: 5.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001522/0.126, allocations: 472.4 kB / 462.4 MB, free: 4.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1261, allocations: 136.5 kB / 462.5 MB, free: 4.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.1274, allocations: 0.9611 MB / 463.5 MB, free: 3.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.1274, allocations: 33.7 kB / 463.5 MB, free: 3.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.1277, allocations: 348.5 kB / 463.9 MB, free: 3.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.1278, allocations: 79.33 kB / 464 MB, free: 3.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1279, allocations: 81.64 kB / 464 MB, free: 3.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.1282, allocations: 374.8 kB / 464.4 MB, free: 2.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.1286, allocations: 170.5 kB / 464.6 MB, free: 2.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.1291, allocations: 328.1 kB / 464.9 MB, free: 2.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.13, allocations: 348.7 kB / 465.2 MB, free: 1.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.13, allocations: 0 / 465.2 MB, free: 1.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001191/0.1312, allocations: 0.5126 MB / 465.7 MB, free: 1.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.1312, allocations: 37.7 kB / 465.8 MB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1312, allocations: 4 kB / 465.8 MB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.1314, allocations: 24.78 kB / 465.8 MB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.1318, allocations: 80.08 kB / 465.9 MB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1329, allocations: 1.248 MB / 467.1 MB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.1332, allocations: 51.78 kB / 467.2 MB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.1333, allocations: 16 kB / 467.2 MB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006565/0.1339, allocations: 369.9 kB / 467.6 MB, free: 15.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004891/0.1344, allocations: 316.8 kB / 467.9 MB, free: 15.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007482/0.1352, allocations: 339.7 kB / 468.2 MB, free: 14.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.1352, allocations: 0 / 468.2 MB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001076/0.1362, allocations: 0.5006 MB / 468.7 MB, free: 14.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.1363, allocations: 37.7 kB / 468.7 MB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1363, allocations: 3.938 kB / 468.7 MB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.134e-05/0.1364, allocations: 20.84 kB / 468.8 MB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.1367, allocations: 79.83 kB / 468.8 MB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.1377, allocations: 1.253 MB / 470.1 MB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.1381, allocations: 43.75 kB / 470.1 MB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.1381, allocations: 16 kB / 470.2 MB, free: 12.58 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,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1383, allocations: 196.2 kB / 470.3 MB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.1384, allocations: 63.58 kB / 470.4 MB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.1394, allocations: 380.3 kB / 470.8 MB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1394, allocations: 4 kB / 470.8 MB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1394, allocations: 0 / 470.8 MB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1394, allocations: 3.984 kB / 470.8 MB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.1399, allocations: 401 kB / 471.2 MB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1399, allocations: 7.984 kB / 471.2 MB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.1402, allocations: 51.97 kB / 471.2 MB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.956e-05/0.1403, allocations: 20.78 kB / 471.3 MB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.1403, allocations: 8 kB / 471.3 MB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.1414, allocations: 1.245 MB / 472.5 MB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1414, allocations: 0 / 472.5 MB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.1427, allocations: 0.5254 MB / 473 MB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.1429, allocations: 83.55 kB / 473.1 MB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.1429, allocations: 11.98 kB / 473.1 MB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.1432, allocations: 28.06 kB / 473.2 MB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.1433, allocations: 27.94 kB / 473.2 MB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.1433, allocations: 15.94 kB / 473.2 MB, free: 9.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008916/0.1442, allocations: 0.6787 MB / 473.9 MB, free: 8.684 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1442, allocations: 0 / 473.9 MB, free: 8.684 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007171/0.1449, allocations: 243.4 kB / 474.1 MB, free: 8.445 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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 (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/0.1478, allocations: 0.7547 MB / 474.9 MB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.1497, allocations: 0.861 MB / 475.7 MB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1497, allocations: 0 / 475.7 MB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.1503, allocations: 246.5 kB / 476 MB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.1509, allocations: 86.95 kB / 476.1 MB, free: 6.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.1533, allocations: 1.347 MB / 477.4 MB, free: 5.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1537, allocations: 337.8 kB / 477.7 MB, free: 5.004 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.1539, allocations: 92.22 kB / 477.8 MB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.1541, allocations: 44.48 kB / 477.9 MB, free: 4.867 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1541, allocations: 0 / 477.9 MB, free: 4.867 MB / 446.1 MB Notification: Performance of Templates: time 0.2034/0.3574, allocations: 7.868 MB / 485.7 MB, free: 69.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8274992380756885] Failed to read output from testmodel.py, exit status != 0: 0.36521138006355613 0.37452485300000005 0.257312543 Calling exit ...