Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0008126/0.0008126, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007872/0.0007872, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8778/0.8778, allocations: 177.2 MB / 203.5 MB, free: 5.75 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.02457/0.02457, allocations: 6.464 MB / 266.4 MB, free: 6.863 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.629e-06, allocations: 0 / 392.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/4.139e-05, allocations: 2.281 kB / 392.9 MB, free: 5.211 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005132/0.005174, allocations: 3.682 MB / 396.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.007636, allocations: 1.905 MB / 398.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.007967, allocations: 11.94 kB / 398.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.008401, allocations: 202.8 kB / 398.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.00906, allocations: 294.3 kB / 399 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.009721, allocations: 389.9 kB / 399.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.0104, allocations: 0.6977 MB / 400.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.01078, allocations: 221.9 kB / 400.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.01142, allocations: 414.9 kB / 400.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.01173, allocations: 267.2 kB / 400.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.01178, allocations: 60 kB / 401 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.01196, allocations: 123.8 kB / 401.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.01212, allocations: 235.2 kB / 401.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01227, allocations: 227.3 kB / 401.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008038/0.01308, allocations: 0.9306 MB / 402.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.01308, allocations: 4 kB / 402.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.01308, allocations: 0 / 402.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.0131, allocations: 0 / 402.5 MB, free: 11.56 MB / 378.7 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.001363/0.01446, allocations: 1.089 MB / 403.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.0145, allocations: 12.03 kB / 403.6 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.01462, allocations: 92.33 kB / 403.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.01521, allocations: 0.5449 MB / 404.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.01525, allocations: 37.38 kB / 404.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.01531, allocations: 60.27 kB / 404.3 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.01592, allocations: 483.8 kB / 404.8 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01593, allocations: 0 / 404.8 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.01596, allocations: 20 kB / 404.8 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.01597, allocations: 12 kB / 404.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.01647, allocations: 355.7 kB / 405.2 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.01815, allocations: 1.577 MB / 406.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.01866, allocations: 322.7 kB / 407.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.01885, allocations: 136.8 kB / 407.2 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.01888, allocations: 7.984 kB / 407.2 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.01915, allocations: 203.2 kB / 407.4 MB, free: 6.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.01916, allocations: 0 / 407.4 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001143/0.0203, allocations: 0.5719 MB / 408 MB, free: 5.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.02033, allocations: 55.41 kB / 408 MB, free: 5.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/0.02106, allocations: 0.9378 MB / 409 MB, free: 4.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.02108, allocations: 29.7 kB / 409 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.0213, allocations: 380.3 kB / 409.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.02136, allocations: 107.1 kB / 409.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.02145, allocations: 90.11 kB / 409.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.02157, allocations: 378.8 kB / 409.9 MB, free: 3.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.02179, allocations: 170.5 kB / 410.1 MB, free: 3.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.02202, allocations: 237.5 kB / 410.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.02245, allocations: 364 kB / 410.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02245, allocations: 4 kB / 410.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006823/0.02314, allocations: 0.5673 MB / 411.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.02318, allocations: 29.7 kB / 411.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02318, allocations: 4 kB / 411.3 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.02338, allocations: 64.75 kB / 411.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.02354, allocations: 72.08 kB / 411.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.02474, allocations: 1.672 MB / 413.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.02493, allocations: 55.84 kB / 413.2 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.02495, allocations: 16.19 kB / 413.2 MB, free: 464 kB / 378.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: 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.0002546/0.0252, allocations: 269.7 kB / 413.4 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.02526, allocations: 67.53 kB / 413.5 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.02586, allocations: 438.2 kB / 413.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.02587, allocations: 11.98 kB / 413.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02587, allocations: 0 / 413.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.02588, allocations: 3.984 kB / 414 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.02622, allocations: 424.8 kB / 414.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.02622, allocations: 4 kB / 414.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.02636, allocations: 51.89 kB / 414.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.02649, allocations: 60.81 kB / 414.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.02651, allocations: 4 kB / 414.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.02766, allocations: 1.669 MB / 416.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.02766, allocations: 8.031 kB / 416.2 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.02841, allocations: 0.5931 MB / 416.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.02849, allocations: 87.48 kB / 416.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.02853, allocations: 8 kB / 416.8 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.02863, allocations: 31.91 kB / 416.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.02871, allocations: 31.94 kB / 416.9 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.02873, allocations: 8 kB / 416.9 MB, free: 12.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005339/0.02926, allocations: 0.663 MB / 417.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02926, allocations: 0 / 417.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.02967, allocations: 151.6 kB / 417.7 MB, free: 11.73 MB / 394.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: 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.001067/0.03073, allocations: 0.657 MB / 418.4 MB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007205/0.03146, allocations: 0.5111 MB / 418.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03146, allocations: 448 / 418.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.03176, allocations: 286.5 kB / 419.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.0321, allocations: 107.9 kB / 419.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.03376, allocations: 1.385 MB / 420.7 MB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.03401, allocations: 358.4 kB / 421 MB, free: 8.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.0341, allocations: 40.48 kB / 421.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0341, allocations: 0 / 421.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of Templates: time 0.01113/0.04523, allocations: 11.69 MB / 432.7 MB, free: 12.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.000647695735097] Failed to read output from testmodel.py, exit status != 0: 0.05201177857816219 0.21956318300000002 0.045640292000000006 Calling exit ...