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.001322/0.001322, 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.001585/0.001585, allocations: 177.9 kB / 23.21 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.8808/0.8808, allocations: 177.2 MB / 203.5 MB, free: 5.734 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.02735/0.02735, allocations: 6.472 MB / 266.4 MB, free: 6.836 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.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: Performance of FrontEnd - loaded program: time 4.278e-06/4.278e-06, allocations: 0 / 392.9 MB, free: 5.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.461e-05, allocations: 4.953 kB / 392.9 MB, free: 5.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004579/0.004613, allocations: 3.684 MB / 396.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.006957, allocations: 1.893 MB / 398.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.007259, allocations: 11.94 kB / 398.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.007695, allocations: 214.7 kB / 398.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005986/0.008293, allocations: 298.3 kB / 399 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.008953, allocations: 386.3 kB / 399.4 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.009593, allocations: 0.6899 MB / 400.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.009953, allocations: 229.8 kB / 400.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.01045, allocations: 411 kB / 400.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.01075, allocations: 271.2 kB / 401 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.01081, allocations: 60 kB / 401 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.01098, allocations: 119.9 kB / 401.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.01115, allocations: 239.2 kB / 401.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.01132, allocations: 219.3 kB / 401.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.01214, allocations: 0.9345 MB / 402.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01214, allocations: 0 / 402.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01214, allocations: 0 / 402.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.01216, allocations: 4 kB / 402.5 MB, free: 11.53 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.001845/0.01401, allocations: 1.082 MB / 403.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.01406, allocations: 15.97 kB / 403.6 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.01423, allocations: 92.33 kB / 403.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.01484, allocations: 0.5488 MB / 404.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.01487, allocations: 37.38 kB / 404.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.01493, allocations: 52.33 kB / 404.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.01551, allocations: 483.8 kB / 404.8 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.01553, allocations: 3.984 kB / 404.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.01556, allocations: 24 kB / 404.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.01557, allocations: 11.94 kB / 404.9 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.01605, allocations: 351.8 kB / 405.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01767, allocations: 1.585 MB / 406.8 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.01817, allocations: 330.6 kB / 407.1 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.01836, allocations: 128.8 kB / 407.2 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.01839, allocations: 4 kB / 407.2 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.01867, allocations: 199.2 kB / 407.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.01867, allocations: 0 / 407.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001011/0.01968, allocations: 0.5758 MB / 408 MB, free: 5.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.01972, allocations: 59.41 kB / 408.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/0.02042, allocations: 0.9377 MB / 409 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.02044, allocations: 33.7 kB / 409 MB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.02064, allocations: 384.4 kB / 409.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.0207, allocations: 103.1 kB / 409.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.02078, allocations: 86.19 kB / 409.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003632/0.02114, allocations: 378.8 kB / 410 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.02136, allocations: 166.6 kB / 410.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.0216, allocations: 237.4 kB / 410.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.02201, allocations: 368.1 kB / 410.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02202, allocations: 0 / 410.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006835/0.0227, allocations: 0.5634 MB / 411.3 MB, free: 2.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.02274, allocations: 33.69 kB / 411.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.02275, allocations: 12.16 kB / 411.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.02296, allocations: 60.81 kB / 411.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.02313, allocations: 75.89 kB / 411.5 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.02439, allocations: 1.68 MB / 413.1 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.02456, allocations: 43.75 kB / 413.2 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.02458, allocations: 19.98 kB / 413.2 MB, free: 424 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.0002478/0.02483, allocations: 273.6 kB / 413.5 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.02488, allocations: 71.53 kB / 413.5 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.02548, allocations: 434.2 kB / 414 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02548, allocations: 4 kB / 414 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02549, allocations: 0 / 414 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02549, allocations: 0 / 414 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.02582, allocations: 436.8 kB / 414.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02582, allocations: 0 / 414.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.02596, allocations: 43.97 kB / 414.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.02609, allocations: 60.81 kB / 414.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.0261, allocations: 7.938 kB / 414.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.02722, allocations: 1.684 MB / 416.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.02722, allocations: 0 / 416.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.02806, allocations: 0.5853 MB / 416.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.02853, allocations: 87.48 kB / 416.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.02857, allocations: 11.98 kB / 416.9 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.02869, allocations: 23.97 kB / 416.9 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.02877, allocations: 27.95 kB / 416.9 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.02879, allocations: 8 kB / 416.9 MB, free: 12.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000549/0.02934, allocations: 0.6708 MB / 417.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02934, allocations: 4 kB / 417.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.02975, allocations: 139.6 kB / 417.7 MB, free: 11.7 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.001088/0.03083, allocations: 0.6629 MB / 418.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.03157, allocations: 0.5154 MB / 418.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03157, allocations: 0 / 418.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.03186, allocations: 282.5 kB / 419.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.0322, allocations: 92.73 kB / 419.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.0338, allocations: 1.393 MB / 420.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.03404, allocations: 366.3 kB / 421 MB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.03413, allocations: 44.5 kB / 421.1 MB, free: 8.559 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03413, allocations: 0 / 421.1 MB, free: 8.559 MB / 394.7 MB Notification: Performance of Templates: time 0.01117/0.0453, allocations: 11.68 MB / 432.8 MB, free: 12.86 MB / 410.7 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.428420273587108] Failed to read output from testmodel.py, exit status != 0: 0.05184761341661215 0.229128725 0.047143779000000004 Calling exit ...