Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.002001/0.002001, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002582/0.002582, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.623/1.623, allocations: 230.6 MB / 256 MB, free: 7.805 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.04316/0.04316, allocations: 8.559 MB / 321 MB, free: 10.41 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [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.002175/0.002175, allocations: 67.91 kB / 447.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1124, allocations: 55.42 MB / 0.491 GB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00659/0.119, allocations: 3.678 MB / 0.4946 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.1224, allocations: 1.878 MB / 0.4964 GB, free: 2.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.1228, allocations: 11.94 kB / 0.4964 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.1234, allocations: 214.8 kB / 0.4966 GB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007797/0.1242, allocations: 286.5 kB / 0.4969 GB, free: 1.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.125, allocations: 390.8 kB / 0.4973 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.1258, allocations: 0.6784 MB / 0.498 GB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.1263, allocations: 229.6 kB / 0.4982 GB, free: 244 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.1267, allocations: 298.9 kB / 0.4985 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.1272, allocations: 310.4 kB / 0.4988 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.711e-05/0.1272, allocations: 68 kB / 0.4988 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.1275, allocations: 116 kB / 0.4989 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.1277, allocations: 235.2 kB / 0.4992 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.128, allocations: 286.3 kB / 0.4994 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.1291, allocations: 0.9453 MB / 0.5004 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1291, allocations: 4 kB / 0.5004 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1291, allocations: 0 / 0.5004 GB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1291, allocations: 0 / 0.5004 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001972/0.1311, allocations: 1.093 MB / 0.5014 GB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1311, allocations: 15.97 kB / 0.5014 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.1313, allocations: 96.33 kB / 0.5015 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009143/0.1322, allocations: 0.5417 MB / 0.5021 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.1322, allocations: 40.94 kB / 0.5021 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.1323, allocations: 51.95 kB / 0.5021 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.1333, allocations: 487.8 kB / 0.5026 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1334, allocations: 4 kB / 0.5026 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1334, allocations: 20 kB / 0.5026 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.1334, allocations: 12 kB / 0.5026 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.1344, allocations: 351.7 kB / 0.503 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.1372, allocations: 1.576 MB / 0.5045 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/0.1381, allocations: 327.3 kB / 0.5048 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.1385, allocations: 124.8 kB / 0.505 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.1385, allocations: 11.98 kB / 0.505 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.139, allocations: 199.2 kB / 0.5052 GB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.139, allocations: 0 / 0.5052 GB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001883/0.1409, allocations: 0.5757 MB / 0.5057 GB, free: 8.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1409, allocations: 55.41 kB / 0.5058 GB, free: 8.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.1422, allocations: 0.9378 MB / 0.5067 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1422, allocations: 33.7 kB / 0.5067 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.1426, allocations: 376.3 kB / 0.5071 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1427, allocations: 111.1 kB / 0.5072 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.1428, allocations: 78.12 kB / 0.5073 GB, free: 6.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.143, allocations: 382.7 kB / 0.5076 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.1434, allocations: 170.5 kB / 0.5078 GB, free: 6.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.1439, allocations: 236.8 kB / 0.508 GB, free: 5.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.1447, allocations: 364.1 kB / 0.5084 GB, free: 5.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1447, allocations: 0 / 0.5084 GB, free: 5.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001275/0.146, allocations: 0.5674 MB / 0.5089 GB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.1461, allocations: 37.64 kB / 0.5089 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1461, allocations: 0 / 0.5089 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.1464, allocations: 56.81 kB / 0.509 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.1467, allocations: 91.91 kB / 0.5091 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.1488, allocations: 1.676 MB / 0.5107 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.1491, allocations: 47.75 kB / 0.5108 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.1492, allocations: 20.05 kB / 0.5108 GB, free: 2.883 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.0004149/0.1496, allocations: 273.6 kB / 0.5111 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.1497, allocations: 71.53 kB / 0.5111 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.1508, allocations: 438.1 kB / 0.5115 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1508, allocations: 0 / 0.5115 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1509, allocations: 7.984 kB / 0.5115 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1509, allocations: 0 / 0.5115 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.1514, allocations: 424.9 kB / 0.512 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1514, allocations: 3.938 kB / 0.512 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.1517, allocations: 47.95 kB / 0.512 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.1519, allocations: 64.94 kB / 0.5121 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.152, allocations: 8 kB / 0.5121 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2078/0.3597, allocations: 1.663 MB / 0.5137 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3597, allocations: 6.312 kB / 0.5137 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.3613, allocations: 0.5951 MB / 0.5143 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.3615, allocations: 84.34 kB / 0.5144 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.3615, allocations: 8.875 kB / 0.5144 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3618, allocations: 23.45 kB / 0.5144 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3619, allocations: 33.2 kB / 0.5144 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3619, allocations: 6.406 kB / 0.5144 GB, free: 25.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007766/0.3627, allocations: 0.6743 MB / 0.5151 GB, free: 25.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3627, allocations: 0 / 0.5151 GB, free: 25.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006005/0.3633, allocations: 143.4 kB / 0.5152 GB, free: 25.88 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.002554/0.3658, allocations: 0.6547 MB / 0.5159 GB, free: 25.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.367, allocations: 0.5258 MB / 0.5164 GB, free: 25.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.367, allocations: 4.438 kB / 0.5164 GB, free: 25.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.3675, allocations: 276 kB / 0.5166 GB, free: 25.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.368, allocations: 90.69 kB / 0.5167 GB, free: 25.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.37, allocations: 1.43 MB / 0.5181 GB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3703, allocations: 367.1 kB / 0.5185 GB, free: 24.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.3706, allocations: 79.27 kB / 0.5186 GB, free: 24.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.3707, allocations: 34.47 kB / 0.5186 GB, free: 24.69 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3707, allocations: 4 kB / 0.5186 GB, free: 24.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01467/0.3853, allocations: 7.56 MB / 0.526 GB, free: 23.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1412440948188305] Failed to read output from testmodel.py, exit status != 0: 0.39423564821481705 0.40556900300000004 0.27393011500000003 Calling exit ...