Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00151/0.00151, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001427/0.001427, allocations: 216.4 kB / 23.01 MB, free: 5.125 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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.04094/0.04094, allocations: 8.543 MB / 321.7 MB, free: 10.61 MB / 254.1 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001977/0.001977, allocations: 71.89 kB / 448.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1062, allocations: 55.42 MB / 0.4918 GB, free: 7.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006161/0.1124, allocations: 3.902 MB / 0.4956 GB, free: 3.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.1158, allocations: 1.99 MB / 0.4976 GB, free: 1.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/0.1161, allocations: 11.94 kB / 0.4976 GB, free: 1.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.1167, allocations: 198.9 kB / 0.4978 GB, free: 1.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008025/0.1175, allocations: 286.5 kB / 0.498 GB, free: 1.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1185, allocations: 417.8 kB / 0.4984 GB, free: 1.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009724/0.1195, allocations: 0.6667 MB / 0.4991 GB, free: 428 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.1198, allocations: 168.2 kB / 0.4993 GB, free: 248 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.1204, allocations: 290.9 kB / 0.4995 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/0.1209, allocations: 330.5 kB / 0.4999 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.121, allocations: 56 kB / 0.4999 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.1213, allocations: 115.9 kB / 0.5 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1215, allocations: 227.2 kB / 0.5002 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.1219, allocations: 342 kB / 0.5006 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1231, allocations: 0.9064 MB / 0.5014 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1231, allocations: 0 / 0.5014 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1231, allocations: 0 / 0.5014 GB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.1231, allocations: 0 / 0.5014 GB, free: 14 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.002081/0.1252, allocations: 1.066 MB / 0.5025 GB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1252, allocations: 12.02 kB / 0.5025 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.1254, allocations: 92.38 kB / 0.5026 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.1263, allocations: 0.5379 MB / 0.5031 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.1264, allocations: 33.12 kB / 0.5031 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.1264, allocations: 44 kB / 0.5032 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009049/0.1273, allocations: 444.6 kB / 0.5036 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.1274, allocations: 11.95 kB / 0.5036 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.1274, allocations: 16 kB / 0.5036 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.1274, allocations: 15.98 kB / 0.5036 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.1283, allocations: 327.7 kB / 0.504 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.1311, allocations: 1.697 MB / 0.5056 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009257/0.132, allocations: 346.8 kB / 0.5059 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.1323, allocations: 124.8 kB / 0.5061 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.1324, allocations: 4.094 kB / 0.5061 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.1328, allocations: 209 kB / 0.5063 GB, free: 8.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.1328, allocations: 0 / 0.5063 GB, free: 8.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001835/0.1347, allocations: 0.5739 MB / 0.5068 GB, free: 8.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.1347, allocations: 85.09 kB / 0.5069 GB, free: 8.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.136, allocations: 0.9456 MB / 0.5078 GB, free: 7.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.1361, allocations: 33.7 kB / 0.5079 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.1364, allocations: 352.6 kB / 0.5082 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/0.1365, allocations: 95.22 kB / 0.5083 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1366, allocations: 82.06 kB / 0.5084 GB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1368, allocations: 325.9 kB / 0.5087 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.1372, allocations: 138.3 kB / 0.5088 GB, free: 6.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.1376, allocations: 219.2 kB / 0.509 GB, free: 5.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/0.1384, allocations: 358.3 kB / 0.5094 GB, free: 5.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.1384, allocations: 8 kB / 0.5094 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001316/0.1397, allocations: 0.5434 MB / 0.5099 GB, free: 5.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.1398, allocations: 37.69 kB / 0.5099 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1398, allocations: 0 / 0.5099 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.1401, allocations: 56.81 kB / 0.51 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.1404, allocations: 79.89 kB / 0.5101 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.1423, allocations: 1.719 MB / 0.5117 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.1426, allocations: 47.75 kB / 0.5118 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.1427, allocations: 16 kB / 0.5118 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006045/0.1433, allocations: 344.8 kB / 0.5121 GB, free: 2.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003898/0.1437, allocations: 211.4 kB / 0.5123 GB, free: 2.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006841/0.1444, allocations: 332.4 kB / 0.5127 GB, free: 2.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.1444, allocations: 4 kB / 0.5127 GB, free: 2 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001127/0.1455, allocations: 0.5151 MB / 0.5132 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.1455, allocations: 37.91 kB / 0.5132 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1455, allocations: 7.938 kB / 0.5132 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.1457, allocations: 60.81 kB / 0.5133 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.146, allocations: 72.08 kB / 0.5133 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1873/0.3333, allocations: 1.707 MB / 0.515 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.3337, allocations: 46.45 kB / 0.515 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3337, allocations: 15.56 kB / 0.5151 GB, free: 25.3 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.0001196/0.3338, allocations: 203 kB / 0.5153 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.3339, allocations: 71.39 kB / 0.5153 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/0.3348, allocations: 430.5 kB / 0.5157 GB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3348, allocations: 7.672 kB / 0.5157 GB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3348, allocations: 0.5625 kB / 0.5157 GB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3348, allocations: 4.688 kB / 0.5157 GB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.3362, allocations: 1.016 MB / 0.5167 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3362, allocations: 6.688 kB / 0.5167 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3365, allocations: 46.89 kB / 0.5168 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.3367, allocations: 63.66 kB / 0.5168 GB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.3367, allocations: 6.375 kB / 0.5169 GB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.3378, allocations: 1.702 MB / 0.5185 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3378, allocations: 0 / 0.5185 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3389, allocations: 0.65 MB / 0.5192 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.339, allocations: 83.64 kB / 0.5192 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.3391, allocations: 9.922 kB / 0.5192 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.3393, allocations: 27.48 kB / 0.5193 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.3394, allocations: 31.89 kB / 0.5193 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3394, allocations: 6.578 kB / 0.5193 GB, free: 23.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007286/0.3402, allocations: 0.6763 MB / 0.52 GB, free: 23.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3402, allocations: 1.5 kB / 0.52 GB, free: 23.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007414/0.3409, allocations: 233.8 kB / 0.5202 GB, free: 23.15 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.002178/0.3431, allocations: 0.6078 MB / 0.5208 GB, free: 23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.3445, allocations: 0.8509 MB / 0.5216 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3445, allocations: 0 / 0.5216 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.345, allocations: 273.4 kB / 0.5219 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3455, allocations: 95.69 kB / 0.522 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3474, allocations: 1.426 MB / 0.5234 GB, free: 21.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3478, allocations: 0.9524 MB / 0.5243 GB, free: 21.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.3479, allocations: 39.62 kB / 0.5243 GB, free: 21.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3479, allocations: 0 / 0.5243 GB, free: 21.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01628/0.3642, allocations: 11.18 MB / 0.5352 GB, free: 17.98 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.184863608097658] Failed to read output from testmodel.py, exit status != 0: 0.3719792279880494 0.38299262700000003 0.257698871 Calling exit ...