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.001253/0.001253, allocations: 76.55 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.001554/0.001554, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8604/0.8604, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.0255/0.0255, allocations: 6.481 MB / 266.4 MB, free: 6.844 MB / 250.7 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 3.206e-06/3.206e-06, allocations: 0 / 392.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.437e-05/3.758e-05, allocations: 8.609 kB / 392.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006509/0.006546, allocations: 3.61 MB / 396.5 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.009221, allocations: 1.168 MB / 397.7 MB, free: 420 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.009751, allocations: 11.94 kB / 397.7 MB, free: 408 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.01036, allocations: 206.9 kB / 397.9 MB, free: 200 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000901/0.01126, allocations: 282.3 kB / 398.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.0122, allocations: 367.5 kB / 398.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009445/0.01314, allocations: 0.6626 MB / 399.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.01361, allocations: 187.8 kB / 399.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007561/0.01437, allocations: 383 kB / 399.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.01477, allocations: 251.3 kB / 400 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.01485, allocations: 52 kB / 400.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.01512, allocations: 119.8 kB / 400.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.01534, allocations: 227.2 kB / 400.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.01557, allocations: 199.4 kB / 400.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.01669, allocations: 0.88 MB / 401.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.01669, allocations: 0 / 401.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.01669, allocations: 7.938 kB / 401.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.01672, allocations: 3.938 kB / 401.5 MB, free: 12.61 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002038/0.01876, allocations: 1.039 MB / 402.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.01881, allocations: 8.031 kB / 402.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.019, allocations: 88.38 kB / 402.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.01984, allocations: 0.541 MB / 403.2 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.01988, allocations: 29.38 kB / 403.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.01995, allocations: 44.38 kB / 403.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.02076, allocations: 431.8 kB / 403.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.02079, allocations: 19.86 kB / 403.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.02082, allocations: 16 kB / 403.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.02083, allocations: 12 kB / 403.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.02132, allocations: 303.8 kB / 404 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.02344, allocations: 1.491 MB / 405.5 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.02398, allocations: 310 kB / 405.8 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.02415, allocations: 116.8 kB / 405.9 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.02418, allocations: 0 / 405.9 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.02446, allocations: 187.2 kB / 406.1 MB, free: 7.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.02446, allocations: 0 / 406.1 MB, free: 7.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009941/0.02546, allocations: 0.5289 MB / 406.6 MB, free: 7.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.0255, allocations: 59.39 kB / 406.7 MB, free: 7.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/0.0263, allocations: 0.926 MB / 407.6 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.02633, allocations: 37.64 kB / 407.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.02655, allocations: 352.5 kB / 408 MB, free: 5.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.02662, allocations: 95.17 kB / 408.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.02671, allocations: 78.06 kB / 408.1 MB, free: 5.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.02685, allocations: 390.6 kB / 408.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.02707, allocations: 150.4 kB / 408.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.0273, allocations: 221.7 kB / 408.9 MB, free: 4.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.02769, allocations: 349.3 kB / 409.2 MB, free: 4.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.0277, allocations: 0 / 409.2 MB, free: 4.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000631/0.02833, allocations: 0.5384 MB / 409.8 MB, free: 3.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.02837, allocations: 33.69 kB / 409.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02837, allocations: 4 kB / 409.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.02858, allocations: 65.03 kB / 409.9 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.02875, allocations: 71.89 kB / 409.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.03004, allocations: 1.673 MB / 411.6 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.03021, allocations: 51.77 kB / 411.7 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.03023, allocations: 16 kB / 411.7 MB, free: 1.98 MB / 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: 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.000224/0.03045, allocations: 265.7 kB / 411.9 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.0305, allocations: 71.52 kB / 412 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.03105, allocations: 404.9 kB / 412.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.03105, allocations: 4 kB / 412.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.03105, allocations: 0 / 412.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.03106, allocations: 0 / 412.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.03136, allocations: 412.9 kB / 412.8 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.03137, allocations: 0 / 412.8 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.0315, allocations: 39.97 kB / 412.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.03163, allocations: 68.75 kB / 412.9 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.03164, allocations: 7.984 kB / 412.9 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.03274, allocations: 1.673 MB / 414.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03275, allocations: 4.031 kB / 414.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.03347, allocations: 0.5402 MB / 415.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.03355, allocations: 83.55 kB / 415.2 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.03358, allocations: 8 kB / 415.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.03369, allocations: 23.97 kB / 415.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.03378, allocations: 23.95 kB / 415.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.03379, allocations: 11.94 kB / 415.3 MB, free: 14.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005433/0.03433, allocations: 0.6669 MB / 416 MB, free: 13.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03433, allocations: 0 / 416 MB, free: 13.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.03481, allocations: 135.7 kB / 416.1 MB, free: 13.39 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: 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.001124/0.03593, allocations: 0.6394 MB / 416.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.03659, allocations: 499.4 kB / 417.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03659, allocations: 3.938 kB / 417.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.03686, allocations: 267 kB / 417.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.03721, allocations: 94.66 kB / 417.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.03875, allocations: 1.328 MB / 418.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.03898, allocations: 349.9 kB / 419.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.03906, allocations: 40.48 kB / 419.3 MB, free: 10.4 MB / 394.7 MB Notification: Performance of SimCode: time 6.22e-07/0.03906, allocations: 0 / 419.3 MB, free: 10.4 MB / 394.7 MB Notification: Performance of Templates: time 0.01017/0.04923, allocations: 11.13 MB / 430.4 MB, free: 15.26 MB / 410.7 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: 5.061479985713959] Failed to read output from testmodel.py, exit status != 0: 0.05720509868115187 0.06464054200000001 0.045948461 Calling exit ...