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.001578/0.001578, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001893/0.001893, allocations: 216.2 kB / 23.01 MB, free: 5.109 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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.04274/0.04274, allocations: 8.543 MB / 321.7 MB, free: 10.62 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.002271/0.002271, allocations: 75.88 kB / 448.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1091, allocations: 55.41 MB / 0.4918 GB, free: 7.945 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006246/0.1153, allocations: 3.899 MB / 0.4956 GB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.1188, allocations: 1.982 MB / 0.4975 GB, free: 2.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.1192, allocations: 11.94 kB / 0.4976 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.1198, allocations: 210.8 kB / 0.4978 GB, free: 1.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008452/0.1206, allocations: 286.5 kB / 0.498 GB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1216, allocations: 417 kB / 0.4984 GB, free: 1.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009931/0.1226, allocations: 0.6706 MB / 0.4991 GB, free: 468 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.123, allocations: 176.2 kB / 0.4993 GB, free: 280 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.1236, allocations: 282.9 kB / 0.4995 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.1241, allocations: 326.6 kB / 0.4998 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1242, allocations: 59.94 kB / 0.4999 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.1245, allocations: 120 kB / 0.5 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.1247, allocations: 215.3 kB / 0.5002 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.1251, allocations: 353.9 kB / 0.5005 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.1262, allocations: 0.9025 MB / 0.5014 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1263, allocations: 0 / 0.5014 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1263, allocations: 3.938 kB / 0.5014 GB, free: 14.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.1263, allocations: 0 / 0.5014 GB, free: 14.03 MB / 382.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.0022/0.1285, allocations: 1.062 MB / 0.5025 GB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1285, allocations: 12.03 kB / 0.5025 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1287, allocations: 88.38 kB / 0.5026 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.1297, allocations: 0.5457 MB / 0.5031 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.1297, allocations: 33.12 kB / 0.5031 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.1298, allocations: 40 kB / 0.5032 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.1307, allocations: 456.6 kB / 0.5036 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1307, allocations: 3.953 kB / 0.5036 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.1308, allocations: 16 kB / 0.5036 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.1308, allocations: 15.98 kB / 0.5036 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.1316, allocations: 331.7 kB / 0.504 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.1346, allocations: 1.689 MB / 0.5056 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.1355, allocations: 346.8 kB / 0.5059 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.1359, allocations: 132.8 kB / 0.5061 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.1359, allocations: 4 kB / 0.5061 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.1364, allocations: 193.1 kB / 0.5062 GB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.1364, allocations: 0 / 0.5062 GB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.00181/0.1382, allocations: 0.5778 MB / 0.5068 GB, free: 8.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.1383, allocations: 81.11 kB / 0.5069 GB, free: 8.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.1395, allocations: 0.9417 MB / 0.5078 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.1396, allocations: 41.69 kB / 0.5078 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.1399, allocations: 352.6 kB / 0.5082 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.14, allocations: 95.3 kB / 0.5083 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1402, allocations: 82 kB / 0.5084 GB, free: 6.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1403, allocations: 325.9 kB / 0.5087 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.1407, allocations: 142.3 kB / 0.5088 GB, free: 6.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.1411, allocations: 211.3 kB / 0.509 GB, free: 5.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.1419, allocations: 374.2 kB / 0.5094 GB, free: 5.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1419, allocations: 0 / 0.5094 GB, free: 5.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001222/0.1432, allocations: 0.5356 MB / 0.5099 GB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.1432, allocations: 37.7 kB / 0.5099 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1432, allocations: 3.984 kB / 0.5099 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.1435, allocations: 56.81 kB / 0.51 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.1438, allocations: 75.89 kB / 0.51 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.1457, allocations: 1.723 MB / 0.5117 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.1461, allocations: 51.73 kB / 0.5118 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.1461, allocations: 16 kB / 0.5118 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006276/0.1468, allocations: 348.8 kB / 0.5121 GB, free: 2.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003925/0.1472, allocations: 211.4 kB / 0.5123 GB, free: 2.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000685/0.1478, allocations: 340.4 kB / 0.5127 GB, free: 2.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.1478, allocations: 0 / 0.5127 GB, free: 2.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001155/0.149, allocations: 0.5153 MB / 0.5132 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.149, allocations: 29.7 kB / 0.5132 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.149, allocations: 4 kB / 0.5132 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.1492, allocations: 60.81 kB / 0.5132 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.1495, allocations: 79.83 kB / 0.5133 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2203/0.3698, allocations: 1.709 MB / 0.515 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.3703, allocations: 46.62 kB / 0.515 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.3703, allocations: 11.03 kB / 0.515 GB, free: 25.35 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,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.000156/0.3704, allocations: 204.5 kB / 0.5152 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.3705, allocations: 70.56 kB / 0.5153 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.3716, allocations: 433 kB / 0.5157 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3716, allocations: 7.406 kB / 0.5157 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.3716, allocations: 0 / 0.5157 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3716, allocations: 3.703 kB / 0.5157 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.3731, allocations: 1.016 MB / 0.5167 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3731, allocations: 0 / 0.5167 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3734, allocations: 49.94 kB / 0.5168 GB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.3736, allocations: 59.41 kB / 0.5168 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3736, allocations: 8.406 kB / 0.5168 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.3748, allocations: 1.703 MB / 0.5185 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3748, allocations: 0 / 0.5185 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.376, allocations: 0.6465 MB / 0.5191 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.3762, allocations: 91.05 kB / 0.5192 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.3762, allocations: 6 kB / 0.5192 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.3765, allocations: 27.95 kB / 0.5193 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.3766, allocations: 26.22 kB / 0.5193 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3766, allocations: 10.83 kB / 0.5193 GB, free: 23.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008014/0.3774, allocations: 0.678 MB / 0.5199 GB, free: 23.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3774, allocations: 0 / 0.5199 GB, free: 23.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008119/0.3782, allocations: 234.8 kB / 0.5202 GB, free: 23.2 MB / 382.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.002303/0.3805, allocations: 0.6053 MB / 0.5208 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.3821, allocations: 0.8607 MB / 0.5216 GB, free: 22.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3821, allocations: 0 / 0.5216 GB, free: 22.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.3826, allocations: 273.8 kB / 0.5219 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.3832, allocations: 90.75 kB / 0.522 GB, free: 22.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.3853, allocations: 1.423 MB / 0.5233 GB, free: 21.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.3858, allocations: 0.9478 MB / 0.5243 GB, free: 21.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3859, allocations: 41.39 kB / 0.5243 GB, free: 21.24 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3859, allocations: 1.188 kB / 0.5243 GB, free: 21.24 MB / 382.1 MB Notification: Performance of Templates: time 0.01865/0.4046, allocations: 11.19 MB / 0.5352 GB, free: 18.03 MB / 382.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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.240384717006236] Failed to read output from testmodel.py, exit status != 0: 0.4131332151591778 0.42458454900000003 0.296051026 Calling exit ...