Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.000965/0.000965, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001039/0.001039, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02753/0.02753, allocations: 6.501 MB / 266.8 MB, free: 6.492 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 285.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.986e-05, allocations: 6.109 kB / 285.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004403/0.004422, allocations: 3.673 MB / 289 MB, free: 224 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1126/0.117, allocations: 1.962 MB / 291 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.1172, allocations: 11.81 kB / 291 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.1176, allocations: 202.3 kB / 291.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.1181, allocations: 284.8 kB / 291.4 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.1188, allocations: 407.1 kB / 291.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.1195, allocations: 0.6479 MB / 292.5 MB, free: 18.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.1197, allocations: 160.4 kB / 292.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.12, allocations: 366.1 kB / 293 MB, free: 18.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.1204, allocations: 244.4 kB / 293.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.1206, allocations: 58.69 kB / 293.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.1211, allocations: 192.1 kB / 293.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.1213, allocations: 223.2 kB / 293.7 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.1215, allocations: 209 kB / 293.9 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000919/0.1224, allocations: 0.6329 MB / 294.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1224, allocations: 0.7031 kB / 294.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1224, allocations: 0.875 kB / 294.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.1225, allocations: 0 / 294.5 MB, free: 17.88 MB / 266.7 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.001328/0.1238, allocations: 0.9944 MB / 295.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1238, allocations: 9.906 kB / 295.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.124, allocations: 78.36 kB / 295.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.1245, allocations: 391.2 kB / 296 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.1245, allocations: 32.7 kB / 296 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.1246, allocations: 40.31 kB / 296.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.125, allocations: 410.6 kB / 296.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.125, allocations: 2.656 kB / 296.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.125, allocations: 14.3 kB / 296.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.125, allocations: 8.812 kB / 296.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1252, allocations: 95.42 kB / 296.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1266, allocations: 1.038 MB / 297.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.1269, allocations: 147.6 kB / 297.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.1269, allocations: 31.23 kB / 297.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.127, allocations: 6.672 kB / 297.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1271, allocations: 110 kB / 297.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.795e-06/0.1271, allocations: 0 / 297.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.000451/0.1276, allocations: 197.6 kB / 298.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.1276, allocations: 133.7 kB / 298.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.1282, allocations: 0.6131 MB / 298.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1283, allocations: 32.98 kB / 298.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1284, allocations: 250.2 kB / 299.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.1284, allocations: 92.69 kB / 299.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.1285, allocations: 74.56 kB / 299.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.1286, allocations: 382.4 kB / 299.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.1287, allocations: 66.52 kB / 299.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1288, allocations: 231.8 kB / 300 MB, free: 14.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1289, allocations: 201 kB / 300.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1289, allocations: 5.281 kB / 300.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000313/0.1292, allocations: 271.5 kB / 300.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.1293, allocations: 36.59 kB / 300.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1293, allocations: 1.938 kB / 300.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.1294, allocations: 18.83 kB / 300.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1296, allocations: 76.95 kB / 300.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/0.1301, allocations: 1.166 MB / 301.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.1302, allocations: 41.81 kB / 301.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1303, allocations: 14.53 kB / 301.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001388/0.1304, allocations: 156.6 kB / 301.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.622e-05/0.1305, allocations: 221.8 kB / 302.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00015/0.1307, allocations: 186.5 kB / 302.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.1307, allocations: 5.656 kB / 302.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000249/0.1309, allocations: 266 kB / 302.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1309, allocations: 36.66 kB / 302.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1309, allocations: 5.641 kB / 302.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.473e-05/0.131, allocations: 25.59 kB / 302.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1311, allocations: 75.95 kB / 302.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003345/0.1315, allocations: 1.155 MB / 303.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1316, allocations: 35.12 kB / 303.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1316, allocations: 12.52 kB / 303.9 MB, free: 11.19 MB / 266.7 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 (iceT.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 8.013e-05/0.1317, allocations: 200.5 kB / 304.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1317, allocations: 47.02 kB / 304.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.132, allocations: 188.3 kB / 304.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.132, allocations: 2.75 kB / 304.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.132, allocations: 1.375 kB / 304.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.132, allocations: 3.281 kB / 304.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1323, allocations: 271.1 kB / 304.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1323, allocations: 4 kB / 304.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1324, allocations: 44.92 kB / 304.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.167e-05/0.1324, allocations: 23.98 kB / 304.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1325, allocations: 4.656 kB / 304.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003383/0.1328, allocations: 1.164 MB / 305.9 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1328, allocations: 1.734 kB / 305.9 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1331, allocations: 226.2 kB / 306.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.1331, allocations: 69.98 kB / 306.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.1332, allocations: 10.75 kB / 306.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.1333, allocations: 21.84 kB / 306.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.1333, allocations: 27.69 kB / 306.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1333, allocations: 5.484 kB / 306.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002773/0.1336, allocations: 316.4 kB / 306.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1336, allocations: 4.062 kB / 306.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.1341, allocations: 250.1 kB / 306.8 MB, free: 9.223 MB / 266.7 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.001948/0.136, allocations: 0.9048 MB / 307.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.1365, allocations: 0.6371 MB / 308.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.1366, allocations: 10.86 kB / 308.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1367, allocations: 185.9 kB / 308.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.137, allocations: 101.8 kB / 308.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1384, allocations: 1.067 MB / 309.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.895e-05/0.1385, allocations: 160.2 kB / 309.8 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.1387, allocations: 76.36 kB / 309.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.1389, allocations: 138.6 kB / 310.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1389, allocations: 0 / 310.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of Templates: time 0.01045/0.1493, allocations: 8.449 MB / 318.5 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8905687830410898]