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.001435/0.001435, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001605/0.001605, allocations: 164.8 kB / 22.46 MB, free: 5.375 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.538/1.538, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.03972/0.03972, allocations: 6.501 MB / 265.7 MB, free: 10.23 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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 392.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.958e-05, allocations: 2.281 kB / 392.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005998/0.006028, allocations: 3.621 MB / 395.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.008368, allocations: 1.172 MB / 396.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.008621, allocations: 11.94 kB / 396.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.009113, allocations: 206.8 kB / 397.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.009768, allocations: 282.4 kB / 397.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.0106, allocations: 381.9 kB / 397.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.0114, allocations: 0.6509 MB / 398.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.01179, allocations: 195.7 kB / 398.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.01234, allocations: 375 kB / 399 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.01271, allocations: 259.2 kB / 399.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/0.01281, allocations: 56 kB / 399.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.01302, allocations: 115.9 kB / 399.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.01326, allocations: 223.2 kB / 399.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.01353, allocations: 203.3 kB / 399.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.01467, allocations: 0.8801 MB / 400.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01467, allocations: 0 / 400.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01467, allocations: 7.875 kB / 400.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.01468, allocations: 0 / 400.7 MB, free: 1.105 MB / 318.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.001997/0.01668, allocations: 1.039 MB / 401.8 MB, free: 28 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.01672, allocations: 8.031 kB / 401.8 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.0169, allocations: 88.42 kB / 401.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.01775, allocations: 0.5371 MB / 402.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.0178, allocations: 29.38 kB / 402.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.01788, allocations: 44.38 kB / 402.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.01883, allocations: 439.8 kB / 402.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.01885, allocations: 7.938 kB / 402.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.01889, allocations: 16 kB / 402.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01891, allocations: 8 kB / 402.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.01977, allocations: 307.8 kB / 403.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.0225, allocations: 1.491 MB / 404.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009313/0.02343, allocations: 306.8 kB / 405 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.02378, allocations: 121.4 kB / 405.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.02382, allocations: 4 kB / 405.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/0.0243, allocations: 179.9 kB / 405.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.0243, allocations: 0 / 405.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001842/0.02615, allocations: 0.5289 MB / 405.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.0262, allocations: 55.41 kB / 405.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.02747, allocations: 0.926 MB / 406.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.02751, allocations: 33.7 kB / 406.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.02786, allocations: 364.5 kB / 407.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02796, allocations: 95.23 kB / 407.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.02809, allocations: 74.06 kB / 407.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003125/0.02841, allocations: 390.6 kB / 407.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.0288, allocations: 150.4 kB / 407.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.02924, allocations: 225.7 kB / 408.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.03006, allocations: 341.6 kB / 408.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03006, allocations: 0 / 408.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001259/0.03132, allocations: 0.5384 MB / 409 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.03136, allocations: 36.83 kB / 409 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.03137, allocations: 8.203 kB / 409 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.03166, allocations: 60.81 kB / 409.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.03197, allocations: 71.89 kB / 409.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.03409, allocations: 1.68 MB / 410.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.0344, allocations: 43.78 kB / 410.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.03443, allocations: 16 kB / 410.9 MB, free: 6.488 MB / 334.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.0003839/0.03481, allocations: 265.7 kB / 411.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.03491, allocations: 71.52 kB / 411.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.03598, allocations: 404.1 kB / 411.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.03599, allocations: 7.984 kB / 411.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.03599, allocations: 0 / 411.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.03599, allocations: 0 / 411.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.03652, allocations: 404.9 kB / 412 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.03652, allocations: 0 / 412 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.03682, allocations: 43.95 kB / 412.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.03705, allocations: 68.75 kB / 412.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.03708, allocations: 4 kB / 412.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.03896, allocations: 1.68 MB / 413.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03896, allocations: 8 kB / 413.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.0403, allocations: 0.5372 MB / 414.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.04045, allocations: 79.55 kB / 414.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.04052, allocations: 15.98 kB / 414.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.04074, allocations: 15.98 kB / 414.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.04083, allocations: 31.94 kB / 414.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.04085, allocations: 7.938 kB / 414.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009401/0.04179, allocations: 0.663 MB / 415.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04179, allocations: 0 / 415.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005352/0.04233, allocations: 131.7 kB / 415.3 MB, free: 1.91 MB / 334.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.002617/0.04494, allocations: 0.6428 MB / 416 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.04618, allocations: 0.4955 MB / 416.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.04619, allocations: 0 / 416.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.04673, allocations: 259 kB / 416.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.04732, allocations: 93.91 kB / 416.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.04976, allocations: 1.292 MB / 418.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.05016, allocations: 357.9 kB / 418.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.05034, allocations: 72.23 kB / 418.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.05045, allocations: 40.48 kB / 418.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.05046, allocations: 0 / 418.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01502/0.06547, allocations: 6.636 MB / 425.2 MB, free: 8.285 MB / 350.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: 4.699083015322685] Failed to read output from testmodel.py, exit status != 0: 0.0742993913590908 0.08979026400000001 0.07186301 Calling exit ...