Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001318/0.001318, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] 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.001432/0.001432, allocations: 201.2 kB / 22.17 MB, free: 5.211 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.427/1.427, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.0428/0.0428, allocations: 8.534 MB / 314.7 MB, free: 316 kB / 238.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-main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 438.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09655, allocations: 54.19 MB / 492.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005934/0.1025, allocations: 3.716 MB / 496.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.1055, allocations: 1.792 MB / 498.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.1057, allocations: 11.94 kB / 498.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.1062, allocations: 194.9 kB / 498.6 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000566/0.1068, allocations: 230.8 kB / 498.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009127/0.1077, allocations: 406.8 kB / 499.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007524/0.1084, allocations: 0.616 MB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.1088, allocations: 154.7 kB / 500 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004753/0.1092, allocations: 251 kB / 0.4885 GB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006462/0.1099, allocations: 306.7 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.11, allocations: 52 kB / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1102, allocations: 111.9 kB / 0.4889 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.1105, allocations: 211.3 kB / 0.4891 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.1108, allocations: 326 kB / 0.4894 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1118, allocations: 0.8442 MB / 0.4903 GB, free: 12.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1118, allocations: 3.938 kB / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1118, allocations: 0 / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1118, allocations: 3.938 kB / 0.4903 GB, free: 12.96 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002101/0.1139, allocations: 1.095 MB / 0.4913 GB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.114, allocations: 11.89 kB / 0.4914 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1141, allocations: 92.41 kB / 0.4914 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009211/0.1151, allocations: 0.575 MB / 0.492 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.1151, allocations: 36.94 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.1152, allocations: 43.94 kB / 0.4921 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.1161, allocations: 416.7 kB / 0.4925 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.1161, allocations: 7.984 kB / 0.4925 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.1161, allocations: 16 kB / 0.4925 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1161, allocations: 8 kB / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009494/0.1171, allocations: 307.7 kB / 0.4928 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.1198, allocations: 1.684 MB / 0.4944 GB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1208, allocations: 317.5 kB / 0.4947 GB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.1211, allocations: 116.7 kB / 0.4949 GB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.1212, allocations: 4 kB / 0.4949 GB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.1217, allocations: 187.1 kB / 0.495 GB, free: 7.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/0.1217, allocations: 0 / 0.495 GB, free: 7.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001526/0.1232, allocations: 0.5483 MB / 0.4956 GB, free: 7.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.1233, allocations: 77.11 kB / 0.4956 GB, free: 7.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.1245, allocations: 0.9183 MB / 0.4965 GB, free: 6.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.1245, allocations: 29.7 kB / 0.4966 GB, free: 6.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.1248, allocations: 344.3 kB / 0.4969 GB, free: 5.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.1249, allocations: 87.36 kB / 0.497 GB, free: 5.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.125, allocations: 73.69 kB / 0.4971 GB, free: 5.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1252, allocations: 378.8 kB / 0.4974 GB, free: 5.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.1257, allocations: 144.7 kB / 0.4976 GB, free: 5.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.1261, allocations: 207.6 kB / 0.4978 GB, free: 4.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008239/0.127, allocations: 344.6 kB / 0.4981 GB, free: 4.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.127, allocations: 4 kB / 0.4981 GB, free: 4.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001177/0.1281, allocations: 483.4 kB / 0.4985 GB, free: 4.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.1282, allocations: 52.75 kB / 0.4986 GB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1282, allocations: 4 kB / 0.4986 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.1284, allocations: 12.86 kB / 0.4986 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.1287, allocations: 83.88 kB / 0.4987 GB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.1299, allocations: 1.371 MB / 0.5 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.1303, allocations: 43.92 kB / 0.5001 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.1303, allocations: 27.92 kB / 0.5001 GB, free: 2.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006111/0.1309, allocations: 336 kB / 0.5004 GB, free: 2.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004136/0.1313, allocations: 199.5 kB / 0.5006 GB, free: 1.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007972/0.1321, allocations: 327.9 kB / 0.5009 GB, free: 1.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.978e-06/0.1321, allocations: 4 kB / 0.5009 GB, free: 1.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001105/0.1332, allocations: 467.2 kB / 0.5014 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.1333, allocations: 33.7 kB / 0.5014 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1333, allocations: 4 kB / 0.5014 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.949e-05/0.1334, allocations: 20.84 kB / 0.5014 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.1337, allocations: 71.89 kB / 0.5015 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.135, allocations: 1.386 MB / 0.5029 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.1354, allocations: 40.02 kB / 0.5029 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1354, allocations: 19.94 kB / 0.5029 GB, free: 15.27 MB / 382.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.0001971/0.1356, allocations: 206.9 kB / 0.5031 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/0.1357, allocations: 67.53 kB / 0.5032 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1368, allocations: 376 kB / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1368, allocations: 4 kB / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1368, allocations: 0 / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1368, allocations: 0 / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.1374, allocations: 0.5284 MB / 0.504 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1374, allocations: 4 kB / 0.5041 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.1377, allocations: 55.89 kB / 0.5041 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/0.1378, allocations: 20.84 kB / 0.5041 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1379, allocations: 8 kB / 0.5041 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.139, allocations: 1.36 MB / 0.5055 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1391, allocations: 0 / 0.5055 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.1405, allocations: 0.5237 MB / 0.506 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.1408, allocations: 160.7 kB / 0.5061 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.1408, allocations: 4 kB / 0.5061 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.1411, allocations: 31.97 kB / 0.5062 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.1412, allocations: 23.97 kB / 0.5062 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1412, allocations: 7.984 kB / 0.5062 GB, free: 11.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.1423, allocations: 0.663 MB / 0.5068 GB, free: 11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1423, allocations: 3.938 kB / 0.5068 GB, free: 10.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007101/0.143, allocations: 215.5 kB / 0.507 GB, free: 10.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (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.002387/0.1454, allocations: 0.5972 MB / 0.5076 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.1472, allocations: 0.7814 MB / 0.5084 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1472, allocations: 0 / 0.5084 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.1477, allocations: 246.5 kB / 0.5086 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.1484, allocations: 109.4 kB / 0.5087 GB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1509, allocations: 1.346 MB / 0.51 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.1516, allocations: 0.9364 MB / 0.511 GB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.1518, allocations: 88.2 kB / 0.511 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.152, allocations: 35.44 kB / 0.5111 GB, free: 6.812 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.152, allocations: 0 / 0.5111 GB, free: 6.812 MB / 382.1 MB Notification: Performance of Templates: time 0.01431/0.1663, allocations: 6.833 MB / 0.5178 GB, free: 0 / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.806407409720123] Failed to read output from testmodel.py, exit status != 0: 0.35359208285808563 0.36750431399999994 0.252786555 Calling exit ...