Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001373/0.001373, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001512/0.001512, allocations: 215.4 kB / 22.99 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.04292/0.04292, allocations: 8.557 MB / 321.7 MB, free: 10.42 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [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.002136/0.002136, allocations: 71.91 kB / 448.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1168, allocations: 55.41 MB / 0.4917 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005926/0.1227, allocations: 3.606 MB / 0.4953 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.125, allocations: 1.168 MB / 0.4964 GB, free: 2.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.1252, allocations: 11.94 kB / 0.4964 GB, free: 2.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.1257, allocations: 214.8 kB / 0.4966 GB, free: 2.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006364/0.1264, allocations: 278.5 kB / 0.4969 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.1271, allocations: 373.1 kB / 0.4972 GB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.1279, allocations: 0.6472 MB / 0.4979 GB, free: 1.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1283, allocations: 191.8 kB / 0.498 GB, free: 1.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.1287, allocations: 267 kB / 0.4983 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.1291, allocations: 290.6 kB / 0.4986 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.925e-05/0.1291, allocations: 56 kB / 0.4986 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.1294, allocations: 127.9 kB / 0.4988 GB, free: 440 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.1296, allocations: 215.3 kB / 0.499 GB, free: 224 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.1299, allocations: 262.5 kB / 0.4992 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1309, allocations: 0.9025 MB / 0.5001 GB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1309, allocations: 0 / 0.5001 GB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1309, allocations: 0 / 0.5001 GB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1309, allocations: 0 / 0.5001 GB, free: 15.05 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001846/0.1328, allocations: 1.051 MB / 0.5011 GB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1328, allocations: 12.03 kB / 0.5011 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1329, allocations: 88.38 kB / 0.5012 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.1338, allocations: 0.53 MB / 0.5017 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.1338, allocations: 40.94 kB / 0.5018 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.1339, allocations: 43.98 kB / 0.5018 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.1348, allocations: 431.9 kB / 0.5022 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1348, allocations: 0 / 0.5022 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.1348, allocations: 19.98 kB / 0.5022 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.1348, allocations: 12 kB / 0.5023 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008055/0.1357, allocations: 311.7 kB / 0.5025 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1382, allocations: 1.494 MB / 0.504 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.139, allocations: 294.9 kB / 0.5043 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.1393, allocations: 124.7 kB / 0.5044 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1394, allocations: 4 kB / 0.5044 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.1398, allocations: 191.1 kB / 0.5046 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.1398, allocations: 0 / 0.5046 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001637/0.1415, allocations: 0.5212 MB / 0.5051 GB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.1416, allocations: 63.38 kB / 0.5052 GB, free: 9.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.1427, allocations: 0.926 MB / 0.5061 GB, free: 8.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1428, allocations: 33.7 kB / 0.5061 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.1431, allocations: 356.4 kB / 0.5064 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.1432, allocations: 95.22 kB / 0.5065 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1433, allocations: 74.08 kB / 0.5066 GB, free: 8.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.1435, allocations: 382.8 kB / 0.507 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.1439, allocations: 154.3 kB / 0.5071 GB, free: 7.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.1443, allocations: 225.4 kB / 0.5073 GB, free: 7.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/0.1451, allocations: 341.6 kB / 0.5077 GB, free: 7.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1451, allocations: 0 / 0.5077 GB, free: 7.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001174/0.1463, allocations: 0.5386 MB / 0.5082 GB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.1463, allocations: 37.7 kB / 0.5082 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1463, allocations: 4 kB / 0.5082 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.1466, allocations: 61.03 kB / 0.5083 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.1469, allocations: 75.83 kB / 0.5084 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.1488, allocations: 1.676 MB / 0.51 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.1491, allocations: 47.83 kB / 0.51 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.1491, allocations: 12 kB / 0.51 GB, free: 4.43 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0003439/0.1494, allocations: 265.7 kB / 0.5103 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.1495, allocations: 75.41 kB / 0.5104 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009828/0.1505, allocations: 409 kB / 0.5108 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1505, allocations: 4 kB / 0.5108 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1505, allocations: 0 / 0.5108 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.1505, allocations: 7.922 kB / 0.5108 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.151, allocations: 401 kB / 0.5112 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.151, allocations: 0 / 0.5112 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.1513, allocations: 47.95 kB / 0.5112 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.1515, allocations: 60.81 kB / 0.5113 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1515, allocations: 4 kB / 0.5113 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.1533, allocations: 1.676 MB / 0.5129 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1533, allocations: 3.938 kB / 0.5129 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1546, allocations: 0.5487 MB / 0.5134 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1547, allocations: 83.55 kB / 0.5135 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.1548, allocations: 4 kB / 0.5135 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.155, allocations: 31.91 kB / 0.5136 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.1551, allocations: 23.95 kB / 0.5136 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.1551, allocations: 8 kB / 0.5136 GB, free: 0.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1964/0.3516, allocations: 0.6617 MB / 0.5142 GB, free: 26.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3516, allocations: 1.594 kB / 0.5142 GB, free: 26.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007831/0.3523, allocations: 130.8 kB / 0.5144 GB, free: 26.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.002499/0.3548, allocations: 0.6425 MB / 0.515 GB, free: 26.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3559, allocations: 0.5002 MB / 0.5155 GB, free: 26.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3559, allocations: 0 / 0.5155 GB, free: 26.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.3563, allocations: 264 kB / 0.5157 GB, free: 26.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.3569, allocations: 94.09 kB / 0.5158 GB, free: 26.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3588, allocations: 1.398 MB / 0.5172 GB, free: 25.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3591, allocations: 340.6 kB / 0.5175 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3592, allocations: 44.61 kB / 0.5175 GB, free: 25.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3592, allocations: 0 / 0.5175 GB, free: 25.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01556/0.3748, allocations: 11.12 MB / 0.5284 GB, free: 22.93 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.65478240698576] Failed to read output from testmodel.py, exit status != 0: 0.38344302121549845 0.39599097799999994 0.26235691199999994 Calling exit ...