Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.000825/0.000825, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008007/0.0008007, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8754/0.8754, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.0251/0.0251, allocations: 6.463 MB / 266.4 MB, free: 6.812 MB / 250.7 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 392.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.562e-05, allocations: 6.219 kB / 392.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.003833/0.003858, allocations: 3.624 MB / 396.5 MB, free: 400 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.005254, allocations: 1.164 MB / 397.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.005443, allocations: 19.88 kB / 397.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.005819, allocations: 202.9 kB / 397.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.00626, allocations: 290.3 kB / 398.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.006712, allocations: 366.6 kB / 398.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.007194, allocations: 0.6587 MB / 399.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.007486, allocations: 191.7 kB / 399.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.007857, allocations: 379 kB / 399.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.008097, allocations: 247.2 kB / 400 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.008151, allocations: 56 kB / 400 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.008286, allocations: 127.9 kB / 400.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.008429, allocations: 219.2 kB / 400.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.008569, allocations: 199.4 kB / 400.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.009184, allocations: 0.8878 MB / 401.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.009186, allocations: 0 / 401.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009187, allocations: 0 / 401.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.009194, allocations: 0 / 401.5 MB, free: 11.43 MB / 330.7 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.001089/0.01028, allocations: 1.039 MB / 402.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.01032, allocations: 12.03 kB / 402.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.01041, allocations: 92.36 kB / 402.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.01091, allocations: 0.5332 MB / 403.1 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.01093, allocations: 33.38 kB / 403.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.01098, allocations: 44.38 kB / 403.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.01147, allocations: 435.8 kB / 403.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.01149, allocations: 7.938 kB / 403.6 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.01151, allocations: 19.98 kB / 403.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.01152, allocations: 12 kB / 403.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.01194, allocations: 307.7 kB / 404 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.01333, allocations: 1.487 MB / 405.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.01379, allocations: 302.8 kB / 405.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.01394, allocations: 112.8 kB / 405.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.01397, allocations: 4 kB / 405.9 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.01421, allocations: 187.8 kB / 406.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.807e-06/0.01421, allocations: 7.984 kB / 406.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008711/0.01508, allocations: 0.5249 MB / 406.6 MB, free: 6.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.01512, allocations: 55.41 kB / 406.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.0158, allocations: 0.9299 MB / 407.6 MB, free: 5.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.01582, allocations: 33.7 kB / 407.6 MB, free: 5.066 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.01604, allocations: 356.4 kB / 408 MB, free: 4.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.01609, allocations: 103.2 kB / 408.1 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.01617, allocations: 74.02 kB / 408.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.01629, allocations: 386.7 kB / 408.5 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.01648, allocations: 150.4 kB / 408.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.01669, allocations: 225.7 kB / 408.9 MB, free: 3.742 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.01708, allocations: 345.6 kB / 409.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01708, allocations: 0 / 409.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006188/0.0177, allocations: 0.5345 MB / 409.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.01773, allocations: 37.69 kB / 409.8 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.01774, allocations: 4 kB / 409.8 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.01792, allocations: 65.03 kB / 409.8 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.01806, allocations: 71.89 kB / 409.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.01913, allocations: 1.672 MB / 411.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.01927, allocations: 43.75 kB / 411.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.01929, allocations: 16.19 kB / 411.6 MB, free: 0.8047 MB / 330.7 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.0002197/0.01951, allocations: 265.7 kB / 411.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.01956, allocations: 67.53 kB / 412 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.02011, allocations: 408.1 kB / 412.4 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.02012, allocations: 4 kB / 412.4 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.02012, allocations: 0 / 412.4 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.02012, allocations: 0 / 412.4 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1529/0.173, allocations: 409 kB / 412.8 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.173, allocations: 0 / 412.8 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1732, allocations: 41.8 kB / 412.8 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.1733, allocations: 64.47 kB / 412.9 MB, free: 31.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1734, allocations: 6.906 kB / 412.9 MB, free: 31.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009327/0.1743, allocations: 1.67 MB / 414.6 MB, free: 30.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1743, allocations: 3.281 kB / 414.6 MB, free: 30.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/0.175, allocations: 0.5434 MB / 415.1 MB, free: 30.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.1751, allocations: 89.14 kB / 415.2 MB, free: 30.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1752, allocations: 8.828 kB / 415.2 MB, free: 30.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1753, allocations: 22.81 kB / 415.2 MB, free: 30.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.1754, allocations: 28.33 kB / 415.2 MB, free: 30.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1754, allocations: 5.938 kB / 415.3 MB, free: 30.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000566/0.1759, allocations: 0.6632 MB / 415.9 MB, free: 29.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1759, allocations: 3.5 kB / 415.9 MB, free: 29.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.1763, allocations: 136.2 kB / 416.1 MB, free: 29.75 MB / 330.7 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.001005/0.1773, allocations: 0.6439 MB / 416.7 MB, free: 29.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.178, allocations: 0.4943 MB / 417.2 MB, free: 29.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.178, allocations: 0 / 417.2 MB, free: 29.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.1783, allocations: 260.4 kB / 417.4 MB, free: 29.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1787, allocations: 93.67 kB / 417.5 MB, free: 29.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1805, allocations: 1.317 MB / 418.9 MB, free: 28.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1808, allocations: 351.4 kB / 419.2 MB, free: 28.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1809, allocations: 38.25 kB / 419.2 MB, free: 28.26 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1809, allocations: 0 / 419.2 MB, free: 28.26 MB / 330.7 MB Notification: Performance of Templates: time 0.0137/0.1946, allocations: 11.13 MB / 430.4 MB, free: 24.23 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058155649341643] Failed to read output from testmodel.py, exit status != 0: 0.20074299164116383 0.20746616 0.196925324 Calling exit ...